wayne-x-wang opened a new pull request, #18688:
URL: https://github.com/apache/iceberg/pull/18688

   SHOW COLUMNS and ANALYZE TABLE can fail with planner errors for Iceberg V2 
views, or incorrectly fall back to V1 commands in Spark 4.2's session catalog. 
Add view column inspection with namespace validation and explicit 
unsupported-operation errors for statistics collection. Route the affected 4.2 
session-catalog commands before V1 rewriting, preserving native handling for 
named catalogs and temporary views. REFRESH TABLE is outside this change.
   
   Related: https://github.com/apache/iceberg/issues/17577
   
   Test plan: Verify column aliases/order, namespace resolution, ANALYZE 
variants, and temporary-view precedence across three catalog configurations. 
Full TestViews on Spark 4.0.5/4.1.4/4.2.1: 892 passed, 20 skipped, no failures. 
Spotless, Checkstyle and Scalastyle passed.
   
   ---
   **AI Disclosure**
   - Model: GPT-6 Astra
   - Platform/Tool: Codex
   - Human Oversight: Reviewed
   - Prompt Summary: Implement Iceberg V2 view command fixes and regression 
tests for issue #17577. The production changes and new tests were generated 
with AI assistance.


-- 
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]

Reply via email to