Example #1
0
 def createSQLFiles(self):
     tinctest.logger.info('Creating the SQL files under setup folder')
     schema = GenerateSqls()
     table_types = ('ao', 'co', 'heap')
     for table_type in table_types:
         schema.create_table_setup('table',table_type,table_type)
         schema.create_table_setup('insert_tb',table_type,table_type)
         schema.create_table_setup('insert_tb',table_type + '_part',table_type,'yes')
         schema.create_table_setup('drop_tb',table_type,table_type)
Example #2
0
 def createSQLFiles(self):
     tinctest.logger.info("Creating the SQL files under setup folder")
     schema = GenerateSqls()
     table_types = ("ao", "co", "heap")
     for table_type in table_types:
         schema.create_table_setup("table", table_type, table_type)
         schema.create_table_setup("insert_tb", table_type, table_type)
         schema.create_table_setup("insert_tb", table_type + "_part", table_type, "yes")
         schema.create_table_setup("drop_tb", table_type, table_type)
Example #3
0
 def createSQLFiles(self):
     tinctest.logger.info('Creating the SQL files under setup folder')
     schema = GenerateSqls()
     table_types = ('ao', 'co', 'heap')
     for table_type in table_types:
         schema.create_table_setup('table', table_type, table_type)
         schema.create_table_setup('insert_tb', table_type, table_type)
         schema.create_table_setup('insert_tb', table_type + '_part',
                                   table_type, 'yes')
         schema.create_table_setup('drop_tb', table_type, table_type)