Sha256: 3487ae022661f841fde5131d6d54112f2e43d8b21d545889261f613bdfde8d8a
Contents?: true
Size: 594 Bytes
Versions: 15
Compression:
Stored size: 594 Bytes
Contents
require_relative '../all_jobs_shared' class NvlJob include AllJobsShared define_param :default, '' define_source :source_data, Remi::DataSource::DataFrame, fields: { :field1 => {}, :field2 => {}, :field3 => {} } define_target :target_data, Remi::DataTarget::DataFrame define_transform :main, sources: :source_data, targets: :target_data do Remi::SourceToTargetMap.apply(source_data.df, target_data.df) do map source(:field1, :field2, :field3) .target(:result_field) .transform(Remi::Transform[:nvl].(params[:default])) end end end
Version data entries
15 entries across 15 versions & 1 rubygems