#NEWLINE# def test_adjustable_result_schema_column_1( self ) : #NEWLINE# #INDENT# table1 = self . table1 #NEWLINE# q = table1 . select ( ( table1 . c . this_is_the_primarykey_column == 4 ) ) . apply_labels ( ) . alias ( 'foo' ) #NEWLINE# dialect = default . DefaultDialect ( label_length = 10 ) #NEWLINE# compiled = q . compile ( dialect = dialect ) #NEWLINE# assert set ( compiled . _create_result_map ( ) [ 'some_2' ] [ 1 ] ) . issuperset ( [ table1 . c . this_is_the_data_column , 'some_large_named_table_this_is_the_data_column' , 'some_2' ] ) #NEWLINE# assert set ( compiled . _create_result_map ( ) [ 'some_1' ] [ 1 ] ) . issuperset ( [ table1 . c . this_is_the_primarykey_column , 'some_large_named_table_this_is_the_primarykey_column' , 'some_1' ] )