def create_table_with_all_types(table_name, session, N):
 alpha_type_list = ['primkey int PRIMARY KEY']
 col_names = ['primkey']
 start_index = ord('a')
 for (i, datatype) in enumerate(PRIMITIVE_DATATYPES):
  alpha_type_list.append('{0} {1}'.format(chr((start_index + i)), datatype))
  col_names.append(chr((start_index + i)))
 session.execute('CREATE TABLE {0} ({1})'.format(table_name, ', '.join(alpha_type_list)), timeout=120)
 for key in range(N):
  params = get_all_primitive_params(key)
  columns_string = ', '.join(col_names)
  placeholders = ', '.join((['%s'] * len(col_names)))
  session.execute('INSERT INTO {0} ({1}) VALUES ({2})'.format(table_name, columns_string, placeholders), params, timeout=120)
 return col_names

def create_table_with_all_types ( table_name , session , N ) : alpha_type_list = [ 'primkey int PRIMARY KEY' ] col_names = [ 'primkey' ] start_index = ord ( 'a' ) for ( i , datatype ) in enumerate ( PRIMITIVE_DATATYPES ) : alpha_type_list . append ( '{0} {1}' . format ( chr ( ( start_index + i ) ) , datatype ) ) col_names . append ( chr ( ( start_index + i ) ) ) session . execute ( 'CREATE TABLE {0} ({1})' . format ( table_name , ', ' . join ( alpha_type_list ) ) , timeout = 120 ) for key in range ( N ) : params = get_all_primitive_params ( key ) columns_string = ', ' . join ( col_names ) placeholders = ', ' . join ( ( [ '%s' ] * len ( col_names ) ) ) session . execute ( 'INSERT INTO {0} ({1}) VALUES ({2})' . format ( table_name , columns_string , placeholders ) , params , timeout = 120 ) return col_names
method that given a table_name and session construct a table that contains all possible primitive types .