Re. stream maps. and <https://sdk.meltano.com/en/l...
# singer-taps
a
Re. stream maps. and https://sdk.meltano.com/en/latest/stream_maps.html#enabling-stream-maps-in-sdk-based-plugins If a tap doesn't have
stream_maps
or
stream_map_config
set in the tap config, is there anything I can do downstream to enable stream maps? Or are my options: 1) a PR to the tap repo, 2) a fork?
d
e
Taps should normally support stream maps even if they don't declare the settings, unless they're on a really old version of the SDK, in which case a fork (and PR, in case the maintainer is available and interested) to bump the SDK version is the best option. Curious, which tap is this?
a
tap-instagram with voxmedia variant, SDK v 0.4.2
Not sure if that qualifies as really old!
e
Well, that's almost 2 years old now! 😅 https://pypi.org/project/singer-sdk/0.4.2/ The latest is v0.34.1, published last month. Looking at the changelog entry though, streams maps should be supported if you declare them in
meltano.yml
.
🙌 1
a
I'm looking to use
datetime
stuff so I think 0.14 minimum? https://github.com/meltano/sdk/blob/main/CHANGELOG.md#v0140-2022-11-16
👍 1
e
Yeah, that's right. You'd need to bump the sdk to at least that version to get those functions in stream maps.