iceberg
Dart client library for the Apache Iceberg REST Catalog.
Usage
Against a Supabase analytics bucket, get a catalog from SupabaseStorageClient
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:
import 'package:iceberg/iceberg.dart';
IcebergRestCatalog catalogFor(String token) {
return 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
Libraries
- iceberg
- Dart client library for the Apache Iceberg REST Catalog.