Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom S3 Path for Incremental DBT Model in Trino #434

Open
1 task
edge7 opened this issue Sep 17, 2024 · 0 comments
Open
1 task

Custom S3 Path for Incremental DBT Model in Trino #434

edge7 opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@edge7
Copy link

edge7 commented Sep 17, 2024

Expected behavior

The S3 path has a meaningful name and it does not look like a temporary table

Actual behavior

The S3 path for table is something like:

all_adf_dim_account__dbt_tmp-a1df170600ea4f4eaca19dde84494979/

Steps To Reproduce

Run a dbt model with a configuration which is like:

{{ config(
    materialized= "incremental",
    unique_key="platform_account_key",
    incremental_strategy= "merge",
    tags="adf",
    labels={ "platform": "adform" },
    pre_hook= ["{{ log_countpre_rows() }}"],
    post_hook= ["{{ log_countpost_rows() }}"],
) }}

The generated table has a "weird" path that seems to be more for a temporary table.

Log output/Screenshots

No response

Operating System

NA

dbt version

1.8.0

Trino Server version

Starburst Enterprise - Trino 423

Python version

3.9

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@edge7 edge7 added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant