Supabase Logo

iceberg

Dart client library for the Apache Iceberg REST Catalog.

Guides

pub package pub test

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

Libraries

iceberg
Dart client library for the Apache Iceberg REST Catalog.