Class: SeaDuck::GlueCatalog

Inherits:
Catalog
  • Object
show all
Defined in:
lib/seaduck/glue_catalog.rb

Instance Method Summary collapse

Methods inherited from Catalog

#_initialize, #attach, #create_namespace, #detach, #drop_namespace, #drop_table, #inspect, #list_namespaces, #list_tables, #namespace_exists?, #quote, #quote_identifier, #snapshots, #sql, #table_exists?, #transaction

Constructor Details

#initialize(warehouse:, default_namespace: "main") ⇒ GlueCatalog



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/seaduck/glue_catalog.rb', line 4

def initialize(warehouse:, default_namespace: "main")
  attach_options = {
    endpoint_type: "glue"
  }
  secret_options = {
    type: "s3",
    provider: "credential_chain"
  }
  _initialize(
    warehouse,
    default_namespace:,
    attach_options:,
    secret_options:
  )
end