-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Salesforce Tap excludes incompatible fields when BULK API is selected. #74
Comments
For additional context...what we are seeing with Stitch is that custom location and address fields are not automatically blacklisted. When we ask for all the fields in a stream and the salesforce object contains custom or location or address fields, replication breaks until we exclude those fields. |
Hello @ns-iknox and @jengle-ns. If I'm reading this correctly, I think we already have a portion of this implemented: The above code is in the Discovery loop as the tap iterates the Salesforce objects. It sounds like what could be missing is logic for the when the type is a location ie: Under the conditions in this code, when the type is location and we're using the Bulk API, we should render Are you seeing "address" field are actually listed as supported? Or are we only just missing the location case? |
Hi @KAllan357! Thanks for your quick response! I'll run a quick test to double check that and provide results here. |
Well, I stand corrected @KAllan357 . It turns out it's just the Since that's an incredibly simple fix I went ahead and made you a PR. |
@KAllan357 @cmerrick just wanted to ping on this. there is a pretty small PR to fix this issue so wanted to see what a timeline would be to get it pushed in. |
It looks like that PR was merged-- Can this issue be closed? |
👋
Certain data types (
location
andaddress
specifically) are not accessible via the Salesforce bulk API. It would be great if any custom fields which are of those types were excluded instead of the manually created blacklist currently implemented.This can be easily done by hitting the salesforce REST API with a query something like this:
An example implementation of this logic can be found here:
https://github.com/ns-iknox/Salesforce_OAuth_Toy
Reference about bulk api limitations: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/compound_fields_address.htm
The text was updated successfully, but these errors were encountered: