-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fixes #24546: Add sobjectNames field for multi-object selection in Salesforce connector #24547
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
base: main
Are you sure you want to change the base?
Fixes #24546: Add sobjectNames field for multi-object selection in Salesforce connector #24547
Conversation
Add support for specifying multiple Salesforce objects to ingest instead of just one or all. The new `sobjectNames` array field allows users to select specific objects (e.g., Contact, Account, Lead) without having to ingest all objects and filter them. Priority order: 1. sobjectNames (array) - if specified, use only these 2. sobjectName (string) - if specified and sobjectNames empty 3. All objects from describe() - if neither specified tableFilterPattern applies in all cases as a final filter. Co-Authored-By: Claude <[email protected]> Signed-off-by: Aleksei Sviridkin <[email protected]>
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
1 similar comment
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
…t/salesforce-multi-object-selection
…to migrate sobjectName values to sobjectNames
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
To generate the types locally, run: cd openmetadata-ui/src/main/resources/ui
./json2ts-generate-all.sh -l true |
|
To generate the types locally, run: cd openmetadata-ui/src/main/resources/ui
./json2ts-generate-all.sh -l true |
…exfrei/OpenMetadata into feat/salesforce-multi-object-selection
8bf1b10
…t/salesforce-multi-object-selection
|
To generate the types locally, run: cd openmetadata-ui/src/main/resources/ui
./json2ts-generate-all.sh -l true |
🔍 CI failure analysis for e140dc8: Sixteen CI failures are unrelated to this PR's Salesforce connector changes. Issues: external Collate build, Maven build failures (missing schema files), Java integration tests (database schema, NullPointerException, flaky test), Playwright E2E tests (5 of 6 shards failing - widespread systemic E2E instability), Python integration tests, and cascading Test Report failures. All are pre-existing systemic issues.IssuesSixteen CI jobs failed:
Root CauseNONE are related to this PR's changes. This PR only modifies Salesforce connector files. Failure 1: maven-collate-ci
Failures 2 & 3: maven-postgresql-ci and maven-sonarcloud-ci
Failures 4 & 5: Java integration-tests
Failures 7-11: playwright-ci-postgresql (5 of 6 shards failing)
Failures 12: py-run-tests
Failure 6: Test Report (x4)
SummaryAll sixteen failures are pre-existing systemic issues unrelated to this PR's Salesforce connector changes. Code Review ✅ Approved 3 resolved / 3 findingsWell-implemented feature to support multi-object selection in Salesforce connector. Migration scripts correctly handle the schema change, Python logic is clear, and tests provide good coverage. ✅ 3 resolved✅ Bug: Test passes wrong argument type to SalesforceSource.create()
✅ Quality: Priority comment skips number 2 (goes from 1 to 3)
✅ Bug: MySQL migration missing newline at end of file
Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|
To generate the types locally, run: cd openmetadata-ui/src/main/resources/ui
./json2ts-generate-all.sh -l true |
|



Describe your changes:
Fixes #24546
Add support for specifying multiple Salesforce objects to ingest via the new
sobjectNamesarray field. This addresses a common use case where users want to ingest metadata from specific objects (e.g., 20 objects out of 1000+) without having to either:The new field follows the same pattern as BigQuery's
taxonomyProjectIDarray field.Breaking Change: The existing
sobjectName(string) field has been removed and replaced withsobjectNames(array). Migration scripts automatically convert existing configurations.Priority order:
sobjectNames(array) - if specified, use only these objectsdescribe()- if not specifiedtableFilterPatternis applied in all cases as a final filter.Changes:
sobjectNamefield and addedsobjectNamesarray field to JSON SchemaType of change:
Checklist:
Fixes <issue-number>: <short explanation>Note on migrations: Migration scripts have been added for both MySQL and PostgreSQL in version 1.11.8. These scripts automatically convert any existing
sobjectName(string) values tosobjectNames(array) format, ensuring backward compatibility during upgrade.