3 ms·
I've mentioend this whenever iceberg comes up. It's wild how immature the ecosystem is still. Duckdb itself lacks the ability to write iceberg.... https://duck
by dm03514 2y ago
I've mentioend this whenever iceberg comes up. It's wild how immature the ecosystem is still. Duckdb itself lacks the ability to write iceberg....
https://duckdb.org/docs/stable/extensions/iceberg/overview.html#limitations https://duckdb.org/docs/stable/extensions/iceberg/overview.h...
Apache iceberg go ? Nope
https://github.com/apache/iceberg-go?tab=readme-ov-file#readwrite-data-support https://github.com/apache/iceberg-go?tab=readme-ov-file#read...
Basically java iceberg is the only mature way to do this, it's not a very accessible ecosystem.
For a side project I'm using pyiceberg to sink streaming data to iceberg (using DuckDB as the stream processor):
https://sql-flow.com/docs/tutorials/iceberg-sink https://sql-flow.com/docs/tutorials/iceberg-sink
It's basically a workaround for DuckDB's lack of native support. I am very happy with the Pyicerbg library as a user, It was very easy and the native Arrow support is a glimpse into the future. Arrow as an interchange format is quite amazing. Just open up the iceberg table and append Arrow dataframes to it!
https://github.com/turbolytics/sql-flow https://github.com/turbolytics/sql-flow
Arrow is quite spectacular and it's cool to see the industry moving to standardize on it as a dataframe. For example, Clickhouse python also support arrow-based insertion:
https://sql-flow.com/docs/tutorials/clickhouse-sink https://sql-flow.com/docs/tutorials/clickhouse-sink
This makes the glue code trivial to sink into these different systems as long as arrow is used.
- hn1986 2y agotracking write support here: https://github.com/duckdb/duckdb-iceberg/issues/37 https://github.com/duckdb/duckdb-iceberg/issues/37
- barrenko 2y agoWhat the hell is iceberg now?
- Mortiffer 2y agoI came to the same conclusion and moved on. We had some c# applications reading some python
- ramraj07 2y agoIs there a reliable way to convert an existing Parquet directory to iceberg without moving the data?
- lidavidm 2y agoIceberg-go is working on it! (edit: it being write support)
- zeroshade 2y agoHi! Primary developer of iceberg-go here! We're about to merge https://github.com/apache/iceberg-go/pull/339 https://github.com/apache/iceberg-go/pull/339 which will complete support for `AddFiles` to add existing parquet files to the table. Not too far behind this is support for appending a stream of Arrow record batches, likely in the next couple weeks. Slow and steady!
- dm03514 2y agoAmazing! Thank you for the update, this will be huge