Class: Iceberg::GlueCatalog
- Defined in:
- lib/iceberg/glue_catalog.rb
Instance Method Summary collapse
-
#initialize(warehouse:) ⇒ GlueCatalog
constructor
warehouse is URI of S3 storage bucket.
Methods inherited from Catalog
#create_namespace, #create_table, #drop_namespace, #drop_table, #inspect, #list_namespaces, #list_tables, #load_table, #namespace_exists?, #namespace_properties, #query, #register_table, #rename_table, #table_exists?, #update_namespace
Constructor Details
#initialize(warehouse:) ⇒ GlueCatalog
warehouse is URI of S3 storage bucket
4 5 6 7 8 9 |
# File 'lib/iceberg/glue_catalog.rb', line 4 def initialize(warehouse:) # requires glue feature raise Error, "Feature not enabled" unless RbCatalog.respond_to?(:new_glue) @catalog = RbCatalog.new_glue(warehouse) end |