Sha256: 5d165acffd2627f8f405b92faf74d7f9abe4461787b183c25cc098c649b9e028
Contents?: true
Size: 560 Bytes
Versions: 2
Compression:
Stored size: 560 Bytes
Contents
source :in, { :file => 'data/delimited.txt', :parser => { :name => :delimited } }, [ :first_name, :last_name, :ssn, :age, :sex ] #transform :age, :type, :type => :number transform :ssn, :sha1 transform(:ssn){ |n, v, row| v[0,24] } transform :sex, :decode, {:decode_table_path => 'data/decode.txt'} destination :out, { :file => 'output/delimited.txt' }, { :order => [:id, :first_name, :last_name, :ssn, :age, :sex, :test, :calc_test], :virtual => { :id => :surrogate_key, :test => "test!", :calc_test => Time.now }, }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
activewarehouse-etl-0.9.5.rc1 | test/delimited.ctl |
balinterdi-activewarehouse-etl-0.9.2 | test/delimited.ctl |