Skip to content

fix deploy for dmo package#110

Merged
zach-maddox merged 7 commits into
mainfrom
deploy-dmo-package
Jun 8, 2026
Merged

fix deploy for dmo package#110
zach-maddox merged 7 commits into
mainfrom
deploy-dmo-package

Conversation

@zach-maddox

Copy link
Copy Markdown
Collaborator

Packages for DMO transforms cause an exception to be thrown when the CLI is used to deploy the code package into Data Cloud. This change enables those packages to be deployed successfully without the exception.

Note: at the time of submitting this PR, there is still a bug where if the output DMO does not exist, the transform creation will fail, yielding a different error (but the code package still uploads successfully). This is a bug inside Data Cloud that is being addressed, with the end result being that the output DMO should be created automatically. The workaround is to create the DMO some other way (via Transform builder UI or Transform API) before creating a transform with the code package.

@markdlv-sf markdlv-sf self-requested a review June 5, 2026 16:58
@markdlv-sf

Copy link
Copy Markdown
Contributor

I think we also need to work the outputDataObjects param into the DATA_TRANSFORM_REQUEST_TEMPLATE, in order for auto-create to work properly.

raise ValueError(
"DMO transforms require 'dataObjects' in config.json describing "
"the schema of each output DMO."
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great we're getting these validation errors in place- will catch the issues much earlier.

@zach-maddox zach-maddox merged commit 065878d into main Jun 8, 2026
3 checks passed
@zach-maddox zach-maddox deleted the deploy-dmo-package branch June 8, 2026 19:13
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.

2 participants