dbt-labs / dbt-snowflake

dbt-snowflake contains all of the code enabling dbt to work with Snowflake
https://getdbt.com
Apache License 2.0
277 stars 169 forks source link

[CT-1492] [Feature] Add support for Iceberg Tables #321

Open teej opened 1 year ago

teej commented 1 year ago

Is this your first time submitting a feature request?

Describe the feature

Snowflake has announced support for Iceberg Tables, an external table format but with full interoperability as a 1st class snowflake table.

Once this feature goes live, dbt-snowflake should support materializing a model as an external iceberg table.

Describe alternatives you've considered

No response

Who will this benefit?

Are you interested in contributing this feature?

yes

Anything else?

Iceberg Tables are in private preview as of 2022-11-10

erniedeferia commented 1 year ago

+1

github-actions[bot] commented 1 year ago

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days.

jaklan commented 1 year ago

Any chance to put more light on that? We really need a Snowflake equivalent of https://github.com/dbt-athena/dbt-athena to push forward the adoption of open table format (which, I believe, would be also pretty crucial for dbt to support in the long term).

multiprocessingh commented 1 year ago

+1 here! This would be super useful to support for enterprise sas use cases!

WangCHEN9 commented 1 year ago

+1 here!

DLewisEndeavor commented 11 months ago

+1 here! Looking into Iceberg for enterprise sharing across platforms

apd-bscally commented 9 months ago

+1, Iceberg is now in public preview on Snowflake

mourtallah commented 8 months ago

+1 here!

VSchmidts commented 8 months ago

+1 here!

ksdaly commented 8 months ago

+1

ZergRocks commented 8 months ago

+1

sfc-gh-ripu commented 8 months ago

+1

jimvekemans commented 7 months ago

+1, will work on this a bit in the coming weeks and, if successful, open a pull request

dennysrega1ado commented 7 months ago

+1

waitsfornone commented 7 months ago

+1 here. We are adopting Iceberg tables as our data lake format and I would love to generate the tables out of Snowflake with dbt.

mikezusev commented 7 months ago

+1

zewang-sanofi commented 7 months ago

+1

sfc-gh-wriley commented 7 months ago

+1 :-)

njrogers commented 7 months ago

+1

Fleid commented 6 months ago

Hey all! Thanks for "upvoting", please continue to do so. We are wrapping up all the internals work to support 1.8, plus a few more things to do for quality of the plugins and how we test them, and then Iceberg will be at the top of the list!

sfc-gh-ftrejo commented 6 months ago

+1

sfc-gh-elethier commented 6 months ago

+1

sfc-gh-amdeshpande commented 6 months ago

+1

sfc-gh-mpowell commented 6 months ago

+1

joatkh commented 6 months ago

+1

Jemsley0 commented 6 months ago

+1

ncapeta commented 6 months ago

Any ETA on 1.8 ?

jonask137 commented 6 months ago

Any ETA on 1.8 ?

According to the documentation, it should be released as of April 2024: https://docs.getdbt.com/docs/dbt-versions/core#latest-releases

shayms8 commented 6 months ago

i'm getting errors when trying to query a MAP iceberg object from dbt:

  002040 (42601): SQL compilation error:
  Unsupported data type 'map(VARCHAR(16777216), VARCHAR(16777216))'.
  compiled Code at target/run/dbt_snowflake_1/models/L1_iceberg/L1__client_events_iceberg.sql

any idea why it happens? can i somehow solve it? didn't find a documentation suggesting MAP columns are not supported on dbt_snowflake integration

ShahNewazKhan commented 4 months ago

+1

sfc-gh-wriley commented 4 months ago

Is this now LIVE...? Was slated for APRIL release?

sivakanthavel-tigeranalytics commented 3 months ago

+1

antonio-yuen-zocdoc commented 2 months ago

Any news on this?

dweaver33 commented 1 month ago

Any update? We're looking into iceberg tables on Snowflake now as well.

freemanrickhuang commented 1 month ago

+1

colin-rogers-dbt commented 1 month ago

We will be prioritizing this work over the next couple of weeks. Please stay tuned.

davegot12 commented 3 weeks ago

+1

mnoumanshahzad commented 2 weeks ago

+1

VersusFacit commented 2 weeks ago

Just to update, I'm actually drafting out features right now. We have a table prototype going if you want a sneak peek. Fair warning, we have some performance issues to navigate given Snowflake metadata constraints.

We are actively scoping incremental tables out :)

1170

TomRutten commented 1 week ago

+1

harveymarshall commented 1 week ago

+1

VersusFacit commented 1 week ago

For those following closely along, we just merged the PR I linked above into main. šŸš€

its_happening.gif

So, the Iceberg table materialization is live for those who like to live at the bleeding edge of our adapters. (we don't recommend this šŸ˜… )

It will take the next 2-3 weeks for us to QA it for Cloud / release in a formal OSS version.

Caveat

Because of some metadata query latency, this feature will be gated behind a behavior flag: enable_iceberg_materializations. Early adopters will need to use this flag in their project configurations to enable Iceberg features.

Snowflake in a future release will alter their metadata queries to remove this latency hit, at which point we'll remove the need for the flag in the first place.


Onto incremental models next.