Add top level run_as support for DLT pipelines#3307
Merged
shreyas-goenka merged 6 commits intomainfrom Sep 2, 2025
Merged
Conversation
Collaborator
|
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jul 30, 2025
## Why Since we'll soon be adding support for run_as for DLT pipelines we can remove support for the legacy mode. #3307 Tracking usage will inform us of the impact from removing this option. ## Tests New test and existing ones.
pietern
approved these changes
Sep 2, 2025
andrewnester
approved these changes
Sep 2, 2025
Contributor
Author
|
Recording discussion from slack. Pieter Noordhuis:
Shreyas Goenka:
That's exactly what happens. The table's ownership is changed to the run_as identity. I only tried this once but I did not observe any errors during that run.
That is not allowed by the backend.
There should be options:
|
shreyas-goenka
added a commit
that referenced
this pull request
Sep 3, 2025
Add top level run_as support for DLT pipelines 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
## Summary This PR adds a changelog entry for PR #3307 which implemented top level `run_as` support for DLT pipelines in Databricks Asset Bundles (DABs). ## Changes - Added entry to `NEXT_CHANGELOG.md` under the Bundles section documenting the new top level `run_as` support for DLT pipelines ## Context PR #3307 enabled DABs to support the `run_as` field at the top level for DLT pipelines. Previously, DABs would error if pipelines were used with the `run_as` field set. Now the CLI transparently reads the `run_as` value and applies it to all pipelines in the bundle. 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
deco-sdk-tagging bot
added a commit
that referenced
this pull request
Sep 3, 2025
## Release v0.267.0 ### CLI * Introduce retries to `databricks psql` command ([#3492](#3492)) * Add rule files for coding agents working on the CLI code base ([#3245](#3245)) ### Dependency updates * Upgrade TF provider to 1.88.0 ([#3529](#3529)) * Upgrade Go SDK to 0.82.0 ### Bundles * Update default-python template to make DB Connect work out of the box for unit tests, using uv to install dependencies ([#3254](#3254)) * Add support for `TaskRetryMode` for continuous jobs ([#3529](#3529)) * Add support for specifying database instance as an application resource ([#3529](#3529)) * Allow referencing job libraries outside bundle root without the need to specify sync root ([#2842](#2842)) * Add top level `run_as` support for Lakeflow Declarative Pipelines ([#3307](#3307))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR adds support for top-level run_as to DABs. Before DABs would error if pipelines were used with the
run_asfield set to a value.Now, we'll transparently read the run_as value and set it for all pipelines in the bundle.
Tests
New acceptance tests. Also manually tested that the run_as feature works as expected.