manuzhang opened a new pull request, #17128: URL: https://github.com/apache/iceberg/pull/17128
## Summary Fix Spark 4.1 V2 view rename target resolution so an unqualified rename target keeps the source view namespace instead of being resolved through the current session namespace. ## Root Cause `ExtendedDataSourceV2Strategy` resolved the rename target with `Spark3Util.catalogAndIdentifier` before deciding whether the target was actually unqualified. For a single-part target name, that helper fills in the current namespace, which can differ from the source view namespace. ## Changes - Resolve single-part view rename targets by applying the source view namespace directly. - Resolve multi-part targets relative to the source catalog and keep the existing cross-catalog move rejection. - Add a Spark 4.1 regression test covering a qualified source view renamed to an unqualified target while the session is using another namespace. --- **AI Disclosure** - Model: GPT-5 - Platform/Tool: OpenAI Codex - Human Oversight: partially reviewed - Prompt Summary: Fix and publish a Spark 4.1 PR for view rename namespace resolution. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
