Method: Egis::Database#table

Defined in:
lib/egis/database.rb

#table(table_name, table_schema, table_location, **options) ⇒ Egis::Table

Creates Table object. Executing it doesn’t create Athena table yet.

Parameters:

  • table_name (String)
  • table_schema (Egis::TableSchema)
  • table_location (String)

    S3 URL with table location (e.g. s3://s3_bucket/table/location/)

  • format (:tsv, :csv, :orc, :orc_index_access, :json, String)

    Table Format (defaults to :tsv)

Returns:



34
35
36
# File 'lib/egis/database.rb', line 34

def table(table_name, table_schema, table_location, **options)
  Table.new(self, table_name, table_schema, table_location, client: client, options: options)
end