chris_evans
09/27/2022, 11:44 PMremove-properties for remove-properties2 . I also see that for this particular mapper it may be possible by supplying a path to a config file https://github.com/MeltanoLabs/meltano-map-transform/blob/b3a74f4b2865d0462ccbc70e523e0b6071eb7086/meltano_map_transform/mapper.py#L44-L59?
mappers:
- name: meltano-map-transformer
variant: meltano
pip_url: git+<https://github.com/MeltanoLabs/meltano-map-transform.git>
mappings:
- name: remove-properties
config: {"stream_maps": {"public-cdc_test": {"id": "id", "__else__": null}}}
- name: remove-properties2
config: ${MAPPER_REMOVE_PROPERTIES2_CONFIG}aaronsteers
09/28/2022, 3:06 AMaaronsteers
09/28/2022, 3:22 AMchris_evans
09/28/2022, 2:11 PMchris_evans
09/28/2022, 3:07 PMmeltano config meltano-map-transformer set mappings '[{"name": "filter-properties", "config": {"stream_maps": {"public-cdc_test": {"id": "id", "__else__": null}}}}]' . I wasn't able to figure out any environmental configuration for the mapper https://docs.meltano.com/guide/configuration, but maybe this is possible?aaronsteers
09/28/2022, 3:44 PM<PLUGIN_NAME>_<SETTING_NAME> convention? Tbh, I don't know if we support this as of yet for mappers/mappings but if not, we definitely can+should log that as a feature proposal.chris_evans
09/28/2022, 3:54 PMError: Block filter-properties not found.
mappers:
- name: meltano-map-transformer
variant: meltano
pip_url: git+<https://github.com/MeltanoLabs/meltano-map-transform.git>
Trying the following env variables:
export MELTANO_MAP_TRANSFORMER_MAPPINGS='[{"name": "filter-properties", "config": {"stream_maps": {"public-cdc_test": {"id": "id", "__else__": null}}}}]'
export MELTANO_MAP_TRANSFORMER__MAPPINGS='[{"name": "filter-properties", "config": {"stream_maps": {"public-cdc_test": {"id": "id", "__else__": null}}}}]'chris_evans
09/28/2022, 6:59 PM