[
https://issues.apache.org/jira/browse/SPARK-62326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uroš Bojanić resolved SPARK-62326.
----------------------------------
Fix Version/s: 4.5.0
Resolution: Fixed
Issue resolved by pull request 60842
[https://github.com/apache/spark/pull/60842]
> Extract shared analysis helpers for table-targeted SHOW commands
> ----------------------------------------------------------------
>
> Key: SPARK-62326
> URL: https://issues.apache.org/jira/browse/SPARK-62326
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.5.0
> Reporter: Vladan Vasić
> Assignee: Vladan Vasić
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.5.0
>
>
> SHOW command lowering for table targets is still embedded in
> ResolveSessionCatalog, and the keyed SHOW TBLPROPERTIES output preparation is
> embedded in KeepLegacyOutputs. These operations need a reusable boundary so
> callers can share the same V1 eligibility, Hive formatting, namespace
> validation, partition-spec and output-attribute behavior.
> Extend ShowCommandHelper with the existing lowering for SHOW TABLE EXTENDED
> with PARTITION, SHOW CREATE TABLE, SHOW PARTITIONS, SHOW COLUMNS and SHOW
> TBLPROPERTIES. Expose the existing legacy keyed SHOW TBLPROPERTIES output
> preparation through KeepLegacyOutputs. Keep the analyzer rules as callers and
> preserve existing command ordering, deferred owning-rule configuration
> access, output attributes and errors.
> This is a behavior-preserving extraction following SPARK-61004. Shared DDL
> target validation and not-found search-path helpers are already tracked by
> SPARK-62296.
> Validation: focused plan-level coverage for Hive AS SERDE precedence, V1 and
> V2 targets, view identifiers, raw partition specifications, case-sensitive
> namespace conflicts, legacy output and lazy configuration access; existing
> V1/V2/Hive SHOW suites and SQL execution/analyzer golden tests.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]