iceberg 0.1.0
iceberg: ^0.1.0 copied to clipboard
Dart client library for the Apache Iceberg REST Catalog, used by Supabase Storage analytics buckets.
iceberg
Dart client library for the Apache Iceberg REST Catalog.
Usage #
Against a Supabase analytics bucket, get a catalog from StorageClient instead
of constructing one yourself:
final catalog = supabase.storage.analyticsCatalog('my-analytics-bucket');
await catalog.createNamespace(['my_namespace']);
Against any other Iceberg REST Catalog, point the client at its base URL:
final catalog = IcebergRestCatalog(
baseUrl: 'https://example.com/iceberg',
warehouse: 'my-warehouse',
headers: {'Authorization': 'Bearer $token'},
);
Docs #
The docs can be found on the official Supabase website.
License #
This repo is licensed under MIT.
Credits #
- https://github.com/supabase/iceberg-js - ported from supabase/iceberg-js