Commonly used components for Kiba ETL
OTHER License
Published by thbar about 4 years ago
show_me!
is now compatible with both awesome_print
and its modern replacement amazing_print
. You will have to require
the one you want to use in your code from now on.SourceTransformAdapter
has been removed due to complexities with Ruby 2.7+ keyword arguments. The suggested replacement is to use Enumerator
and EnumerableExploder
like this:# before
transform SourceTransformAdapter
# after
transform do |klass, args|
Enumerator.new do |y|
# NOTE: you may have to use double-splat (**) here instead
# if you provide keyword arguments, or other variants
klass.new(*args).each do |r|
y << r
end
end
end
transform Kiba::Common::Transforms::EnumerableExploder