Hi all, Any other help on the issue of renaming s...
# singer-taps
m
Hi all, Any other help on the issue of renaming streams for the https://hub.meltano.com/extractors/tap-google-search-console/ tap would be greatly appreciated. To catch you up, the tap is not built on SDK so cannot be renamed using stream_maps, the mappings plugin does not allow for env variable expansion so this method does nto work either. I will be running the tap for multiple domains and what to dynamically set the output steam names based on. the domains/account ids used for that specific run
e
Maybe something like https://github.com/meltano/sdk/issues/1073 is helpful?
Copy code
plugins:
  mappers:
  - name: meltano-map-transformer
    settings:
    - name: stream_maps.performance_report_custom.__alias__
      kind: string
    mappings:
    - name: rename_search_tables
and try setting
MELTANO_MAP_TRANSFORMER_PERFORMANCE_REPORT_CUSTOM___ALIAS__
I had to try it out. It does seem to do the trick: https://github.com/MeltanoLabs/meltano-map-transform/pull/297
m
Many thanks for persevering Edgar, I will give that a go! I also realised that you can map both ends of the EL pipeline, so if the target is SDK based, you can rename the streams that way also
1
e
Oh that's true, lol. Totally forgot that.