Project

General

Profile

Task #814

Updated by Aaron Marcuse-Kubitza about 10 years ago

* this avoids frameshift bugs when columns are added/removed 
 ** this is especially a problem when adding source-specific derived columns to a table that is then left-joined to another table 
 * it also avoids needing to confusingly use output column names in the input column of a left-joined table (to avoid inter-table collisions when reverting the column names to the original names) 

 h3. procedure 

 # reset the column names to the names in header.csv (which are positional, but always correspond to the actual columns) 
 # apply the renames, matching columns by name 

 h3. fix 

 # change @util.set_col_names_with_metadata()@ to follow the above procedure 
 ** this requires storing the original column name in the column comment, so that columns can be matched by name

Back