Skip to content

TableRepository

Persist Table Metadata

TableInfo createTable(
  CreateTable createTable)

createTable creates a TableInfo with randomly-generated UUID as the table ID and the other metadata.

createTable prints out the following DEBUG message to the logs:

Creating table: [fullName]

MANAGED tables are not supported yet

createTable asserts that storage_location is specified for an EXTERNAL table.

createTable persists the table's properties (to uc_properties table using PropertyDAO).

In the end, createTable persists the table metadata.


createTable is used when: