Skip to content

feat: Add option to specify attached databases in the DataCloudConnection#114

Open
ankoh wants to merge 2 commits intoforcedotcom:mainfrom
ankoh:main
Open

feat: Add option to specify attached databases in the DataCloudConnection#114
ankoh wants to merge 2 commits intoforcedotcom:mainfrom
ankoh:main

Conversation

@ankoh
Copy link
Copy Markdown

@ankoh ankoh commented Sep 25, 2025

This commits adds an option to specify AttachedDatabases in the DataCloudConnection.

Example:

Properties properties = new Properties();
properties.setProperty("databases.0.path", "lakehouse:<tenant-id>");
properties.setProperty("databases.0.alias", "lakehouse");

We enforce that indexes are provided sequentially, without holes and sort the attached databases by index.

Note that this PR will have merge conflicts with Adrians property revamp.
I'll rebase once this lands early next week.

@salesforce-cla
Copy link
Copy Markdown

Thanks for the contribution! It looks like @ankoh is an internal user so signing the CLA is not required. However, we need to confirm this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant