MCPcopy Create free account
hub / github.com/apache/impala / create_table

Method create_table

tests/comparison/db_connection.py:445–452  ·  view source on GitHub ↗
(self, table)

Source from the content-addressed store, hash-verified

443 return self.TYPES_BY_NAME[type_name]
444
445 def create_table(self, table):
446 LOG.info('Creating table %s', table.name)
447 if not table.cols:
448 raise Exception('At least one col is required')
449 table_sql = self.make_create_table_sql(table)
450 LOG.debug(table_sql)
451 self.execute(table_sql)
452 LOG.debug('Created table %s', table.name)
453
454 def make_create_table_sql(self, table):
455 column_declarations = []

Callers 6

migrate_dbFunction · 0.45
populate_dbMethod · 0.45
create_tableMethod · 0.45
test_table_modelMethod · 0.45
temp_kudu_tableMethod · 0.45

Calls 3

make_create_table_sqlMethod · 0.95
executeMethod · 0.95
debugMethod · 0.45

Tested by 2

test_table_modelMethod · 0.36
temp_kudu_tableMethod · 0.36