Project

General

Profile

Actions

Task #814

open

rename columns by name, not position

Added by Aaron Marcuse-Kubitza over 10 years ago. Updated over 9 years ago.

Status:
New
Priority:
High
Start date:
11/08/2013
Due date:
% Done:

0%

Estimated time:
Activity type:

Description

  • 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)

fix

  1. 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

alternative procedure (not as optimal)

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

Updated by Aaron Marcuse-Kubitza over 10 years ago

  • Description updated (diff)
Actions #2

Updated by Aaron Marcuse-Kubitza about 10 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Aaron Marcuse-Kubitza over 9 years ago

  • Description updated (diff)
Actions #4

Updated by Aaron Marcuse-Kubitza over 9 years ago

  • Description updated (diff)
Actions #5

Updated by Aaron Marcuse-Kubitza over 9 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF