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

Iceberg table materialization does not work #443

Open
sanga8 opened this issue Sep 20, 2024 · 1 comment
Open

Iceberg table materialization does not work #443

sanga8 opened this issue Sep 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sanga8
Copy link
Contributor

sanga8 commented Sep 20, 2024

Describe the bug

Iceberg table materialization does not work

Steps To Reproduce

    config(
        materialized='table',
        file_format= 'iceberg'
    )

Produces error:

IllegalArgumentException:` Can not create a Path from an empty `string`

System information

The output of dbt --version:

Core:
  - installed: 1.8.6
  - latest:    1.8.6 - Up to date!

Plugins:
  - glue:   1.8.1 - Up to date!
  - spark:  1.8.0 - Up to date!```
@sanga8 sanga8 added the bug Something isn't working label Sep 20, 2024
@sanga8
Copy link
Contributor Author

sanga8 commented Sep 20, 2024

As an alternative we can use

    config(
        materialized='incremental',
        incremental_strategy='insert_overwrite',
        file_format= 'iceberg',
    )

As stated in the documentation and code if no partition_by is specified with insert_overwrite strategy then it will overwrite the entire table with new data. Thus it behaves as a table materialization.

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