andrew_stewart
03/09/2022, 11:45 PMmeltano-map-transformer
is it possible to wildcard the actual field (say if you want to filter any record that has an illegal unicode character that would make the loader barf)?aaronsteers
03/10/2022, 12:06 AMaaronsteers
03/10/2022, 12:06 AMandrew_stewart
03/10/2022, 12:07 AMandrew_stewart
03/10/2022, 12:10 AMtransform-field
meltano-map-transformer
basically the same thing? Sounded like it from some threads here on slack.aaronsteers
03/10/2022, 12:16 AMaaronsteers
03/10/2022, 12:16 AMaaronsteers
03/10/2022, 12:16 AMaaronsteers
03/10/2022, 12:17 AMaaronsteers
03/10/2022, 12:20 AM__else__
option in the Meltano mapper could be expanded to perform this function, but as of now only __else__ = null
is supported, which has the affect of removing anything not otherwise declared.andrew_stewart
03/10/2022, 12:20 AMaaronsteers
03/10/2022, 12:21 AMandrew_stewart
03/10/2022, 12:22 AMstream_maps:
'*':
__filter__: ...
does feel a bit like select
wildcards.andrew_stewart
03/10/2022, 12:26 AMmeltano-map-transformer
, but if I am understanding correctly then the “tap level stream_maps” (ie, https://gitlab.com/meltano/squared/-/blob/master/data/meltano.yml#L28 ) should translate to something like…
mappers:
- name: meltano-map-transformer
variant: meltano
pip_url: git+<https://github.com/MeltanoLabs/meltano-map-transform.git>
mappings:
- name: filter-unicode
stream_maps:
__filter__: ...
andrew_stewart
03/10/2022, 12:26 AM