Sha256: 1f17ade6fca179d5dd8b3eadc5fba02bdc992795b0b4cd46e804bc75cd5581c2

Contents?: true

Size: 581 Bytes

Versions: 2

Compression:

Stored size: 581 Bytes

Contents

# puts "executing delimited.ctl"

source :source1, {
  :file => 'data/multiple_delimited_*.txt',
  :parser => :delimited
}, 
[ 
  :first_name,
  :last_name,
  :ssn,
  {
    :name => :age,
    :type => :integer
  }
]

source :source2, {
  :file => 'data/multiple_delimited_*.txt',
  :parser => :delimited
}, 
[ 
  :first_name,
  :last_name,
  :ssn,
  {
    :name => :age,
    :type => :integer
  }
]

transform :ssn, :sha1
transform(:ssn){ |v| v[0,24] }

destination :out, {
  :file => 'output/multiple_source_delimited.txt'
}, 
{
  :order => [:first_name, :last_name, :ssn, :age]
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
activewarehouse-etl-0.9.5.rc1 test/multiple_source_delimited.ctl
balinterdi-activewarehouse-etl-0.9.2 test/multiple_source_delimited.ctl