Project

General

Profile

Task #814

Updated by Aaron Marcuse-Kubitza over 9 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. fix 

 # change @util.set_col_names_with_metadata()@ to store the original column name in the column comment, and use this to match columns by name 

 h3. alternative procedure (not as optimal) 

 # 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

Back