sling-cli
sling-cli copied to clipboard
iceberg - queryViaDuckDB - support sql catalog type
Feature Description
Duckdb can query an iceberg table without needing to access the catalog to get the current metadata location. If a version-hint.text file exits it is possible to query like:
SELECT count(*) FROM iceberg_scan('s3://bucket/warehouse/namespace/tablename');
Perhaps providing the path for the iceberg_scan function from an argument for the cli would work?
Then a specific snapshot could be used as well.