Nathan Sooter
06/27/2025, 6:16 PMtap-salesforce
and am looking for the config to pass WHERE clauses into the SOQL that Meltano generates. I need to filter to particular values in a particular column in the Account object to make sure specific records aren't extracted.
Chat gpt is leading me astray with configs that don't actually exist...does one exist?mark_estey
06/30/2025, 1:59 PMNathan Sooter
06/30/2025, 10:07 PMstream map
that I could leverage to correctly format the same in mine?Edgar Ramírez (Arch.dev)
07/01/2025, 12:24 AMNathan Sooter
07/07/2025, 10:37 PMplugins:
extractors:
- name: tap-salesforce
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-salesforce.git@v1.9.0>
config:
(various configs)
stream_maps:
User:
filter: "record['Email'] == 'email@email.com'"
select:
- User.Id
- User.Email
But the stream_map documentation shows a section called mappers
below plugins
, so I'm struggling to figure out where to tell Meltano to filter. When I run the above, it pulls everything from User but never filters, so I figure it's not in the right placeNathan Sooter
07/08/2025, 3:35 PMmark_estey
07/08/2025, 4:23 PM__filter__
otherwise it will be creating a new property in the stream named "filter" that will contain the result of that expression