Vladan Vasić created SPARK-62330:
------------------------------------
Summary: Add DESCRIBE target, column and partition goldens
Key: SPARK-62330
URL: https://issues.apache.org/jira/browse/SPARK-62330
Project: Spark
Issue Type: Test
Components: SQL
Affects Versions: 5.0.0
Reporter: Vladan Vasić
Add SQL golden coverage for DESCRIBE table/view targets, columns and partition
specifications.
The existing describe.sql covers basic command forms. This test-only change
exercises target name precedence (local temporary views shadowing persistent
tables and views), current-schema and catalog-qualified lookup, global
temporary view scope, case sensitivity, stored metadata of a view whose base
table has been dropped, dynamic SQL and variable-backed IDENTIFIER clauses.
Column cases distinguish valid relation qualifiers, quoted dotted names,
unsupported nested fields and missing columns. Partition cases cover key
ordering, value casting, invalid specs, view targets and shadowing.
Use core Parquet fixtures and record both execution and analyzer goldens in
SQLQueryTestSuite. No production behavior changes are proposed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]