# Creating Apache Iceberg tables with dbt-trino connector issue

**URL:** <https://discourse.getdbt.com/t/creating-apache-iceberg-tables-with-dbt-trino-connector-issue/18176>\
**Category:** Help\
**Created:** [February 13, 2025, 11:59am UTC](https://discourse.getdbt.com/t/creating-apache-iceberg-tables-with-dbt-trino-connector-issue/18176 "2025-02-13T11:59:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![btim](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@btim](https://discourse.getdbt.com/u/btim)\
**Post date:** [February 13, 2025, 11:59am UTC](https://discourse.getdbt.com/t/creating-apache-iceberg-tables-with-dbt-trino-connector-issue/18176/1 "2025-02-13T11:59:22Z")

</div>

I am trying to create iceberg tables deployed to Trino with a hive metastore that writes to S3  
Creating iceberg tables with Trino requires the following syntax…

```auto
Create materialized view <view name>
With (location = "s3://s3-bucket-path")
As
Select ....

```

The problem: I cannot find any documentation for what variable in the dbt-trino connector will allow me to inject the “With (location = …” part into my create table statement.

I’d like a variable to use in the model config block to specify different s3 end points for each model.

I am using dbt-trino and dbt-core 1.8.7
