Skip to content

Spark 3.5, 4.0, 4.1: Fix view rename target namespace - #18432

Open
manuzhang wants to merge 1 commit into
apache:mainfrom
manuzhang:backport-view-rename-target-namespace
Open

manuzhang wants to merge 1 commit into
apache:mainfrom
manuzhang:backport-view-rename-target-namespace

Conversation

@manuzhang

@manuzhang manuzhang commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Back-port of #18255 to Spark 3.5, 4.0 and 4.1 with an extra change to RenameV2ViewExec: fill in an empty target namespace from the source view, as IcebergRenameV2ViewExec does in Spark 4.2.


AI Disclosure

🤖 Generated with Claude Code

Back-port of apache#18255. Renaming a qualified view to an unqualified target
moved the view into the session's current namespace instead of keeping
it in the source view's namespace.

Resolve single-part targets with an empty namespace and let
RenameV2ViewExec fill it in from the source view. Resolve multi-part
targets relative to the source catalog, keeping the cross-catalog move
rejection.

Generated-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant