Skip to content
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

🐛 Source Salesforce: filter out objects not supported by the Bulk API #17453

Merged
merged 3 commits into from
Sep 30, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ RUN pip install .

ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=1.0.19
LABEL io.airbyte.version=1.0.20

LABEL io.airbyte.name=airbyte/source-salesforce
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,13 @@
"UserRecordAccess",
]

# The following objects are not supported by the Bulk API. Listed objects are version specific.
UNSUPPORTED_BULK_API_SALESFORCE_OBJECTS = [
"AcceptedEventRelation",
"AssetTokenEvent",
"AttachedContentNote",
"Attachment",
"CaseStatus",
"ContractStatus",
"DeclinedEventRelation",
"EventWhoRelation",
"FieldSecurityClassification",
"KnowledgeArticle",
"KnowledgeArticleVersion",
Expand All @@ -144,13 +142,12 @@
"KnowledgeArticleVoteStat",
"OrderStatus",
"PartnerRole",
"QuoteTemplateRichTextData",
"RecentlyViewed",
"ServiceAppointmentStatus",
"ShiftStatus",
"SolutionStatus",
"TaskPriority",
"TaskStatus",
"TaskWhoRelation",
"UndecidedEventRelation",
]

Expand Down
16 changes: 10 additions & 6 deletions docs/integrations/sources/salesforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,25 @@ Airbyte fetches and handles all the possible and available streams dynamically b
**Note:** [BULK API](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm) cannot be used to receive data from the following streams due to Salesforce API limitations. The Salesforce connector syncs them using the REST API which will occasionally cost more of your API quota:

* AcceptedEventRelation
* AssetTokenEvent
* AttachedContentNote
* Attachment
* CaseStatus
* ContractStatus
* DeclinedEventRelation
* EventWhoRelation
* FieldSecurityClassification
* KnowledgeArticle
* KnowledgeArticleVersion
* KnowledgeArticleVersionHistory
* KnowledgeArticleViewStat
* KnowledgeArticleVoteStat
* OrderStatus
* PartnerRole
* QuoteTemplateRichTextData
* RecentlyViewed
* ServiceAppointmentStatus
* ShiftStatus
* SolutionStatus
* TaskPriority
* TaskStatus
* TaskWhoRelation
* UndecidedEventRelation

## Salesforce tutorials

Expand All @@ -118,7 +120,9 @@ Now that you have set up the Salesforce source connector, check out the followin
## Changelog

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------- |
|:--------|:-----------|:---------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|
| 1.0.20 | 2022-09-30 | [17453](https://github.com/airbytehq/airbyte/pull/17453) | Check objects that are not supported by the Bulk API (v52.0) |
| 1.0.19 | 2022-09-29 | [17314](https://github.com/airbytehq/airbyte/pull/17314) | Fixed bug with decoding response |
| 1.0.18 | 2022-09-28 | [17304](https://github.com/airbytehq/airbyte/pull/17304) | Migrate to per-stream states. |
| 1.0.17 | 2022-09-23 | [17094](https://github.com/airbytehq/airbyte/pull/17094) | Tune connection check: fetch a list of available streams |
| 1.0.16 | 2022-09-21 | [17001](https://github.com/airbytehq/airbyte/pull/17001) | Improve writing file of decode |
Expand Down