vladanvasi-db commented on PR #60169:
URL: https://github.com/apache/spark/pull/60169#issuecomment-6726298636

   Addressed the [direct-caller contract 
question](https://github.com/apache/spark/pull/60169#pullrequestreview-5816584276)
 in 
[`885fc63c0510`](https://github.com/apache/spark/commit/885fc63c0510d830c8dbb7eaecb3b13f267e930a):
   
   - `resolveUnresolvedNamespace` now preserves its input node's origin and 
tags itself, matching `resolveUnresolvedIdentifier`. The test calls it under a 
different caller origin, verifies input origin/tag preservation and 
caller-origin restoration, and keeps the existing rule-level assertions. This 
leaves the existing `ResolveCatalogs` path unchanged: its traversal already 
supplies that input origin and propagates those tags.
   - `ShowCommandHelper.rewrite` remains a per-command lowering operation. Its 
docs now require direct SHOW TABLES callers to run 
`KeepLegacyOutputs.keepLegacyShowTablesOutput` first, and state that callers 
supply command origin and propagate tags. SHOW TABLE EXTENDED retains its 
existing schema handling. I kept normalization separate from the SHOW TABLES 
lowering arm so this extraction preserves the existing analyzer pipeline's 
responsibilities and error ordering.
   - Both inline documentation nits are applied: the conditional and 
unconditional legacy-schema helpers are distinguished, and the SHOW helper 
lists exactly its four supported commands and pass-through behavior.
   
   Local validation on this update passed all 273 selected tests and all four 
Catalyst/SQL production/test style checks. The documented temporary Snowflake 
test-driver exclusion is unchanged; no dependency or build-version files were 
modified.
   


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