Sha256: ce7971ca73d1e4363efe57324066fbaccf10d9ae55ec95a909dad0c3473e8edd

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 Bytes

Contents

source :in, {
  :file => 'data/delimited.txt',
  :parser => :csv
}, 
[ 
  :id,
  :first_name,
  :last_name,
  :ssn
]

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

destination :out, {
  :type => :database,
  :target => :data_warehouse,
  :database => 'etl_unittest',
  :table => 'people',
},
{
  :order => [:id, :first_name, :last_name, :ssn]
}

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
activewarehouse-etl-1.0.0 test/delimited_destination_db.ctl
activewarehouse-etl-1.0.0.rc1 test/delimited_destination_db.ctl
etl-0.9.5.rc1 spec/fixtures/delimited_destination_db.ctl
activewarehouse-etl-sgonyea-0.9.6 test/delimited_destination_db.ctl