Project

General

Profile

« Previous | Next » 

Revision 3173

sql_io.py: cast_temp_col(): Name the new column with only the first word of the type, to save space in the limited identifier length

View differences:

sql_io.py
132 132
    except sql_gen.NoUnderlyingTableException: return sql_gen.wrap(cast_, col)
133 133
    
134 134
    table = col.table
135
    new_col = sql_gen.suffixed_col(col, '::'+type_)
135
    new_col = sql_gen.suffixed_col(col, '::'+strings.first_word(type_))
136 136
    expr = cast_(col)
137 137
    
138 138
    # Add column

Also available in: Unified diff