jobs/transforms/prefix_job.rb in remi-0.2.27 vs jobs/transforms/prefix_job.rb in remi-0.2.28
- old
+ new
@@ -11,9 +11,9 @@
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(:my_field) .target(:prefixed_field)
- .transform(Remi::Transform[:prefix].(params[:prefix]))
+ .transform(Remi::Transform::Prefix.new(params[:prefix]))
end
end
end