Sha256: c126916e746cca89a95401687525804fbc4ec21920d300fffc399019fb3cb3fd
Contents?: true
Size: 853 Bytes
Versions: 1
Compression:
Stored size: 853 Bytes
Contents
source :in, { :file => "scd/#{ENV['run_number']}.txt", :parser => :delimited }, [ :first_name, :last_name, :address, :city, :state, :zip_code ] destination :out, { :type => :database, :target => :data_warehouse, :database => 'etl_unittest', :table => 'person_dimension', :natural_key => [:first_name, :last_name], :scd => { :type => 2, :dimension_target => :data_warehouse, :dimension_table => 'person_dimension' }, :scd_fields => ENV['type_2_scd_fields'] ? Marshal.load(ENV['type_2_scd_fields']) : [:address, :city, :state, :zip_code] }, { :order => [ :id, :first_name, :last_name, :address, :city, :state, :zip_code, :effective_date, :end_date, :latest_version ], :virtual => { :id => ETL::Generator::SurrogateKeyGenerator.new(:target => :data_warehouse, :table => 'person_dimension') } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activewarehouse-etl-0.9.5.rc1 | test/scd_test_type_2.ctl |