[
https://issues.apache.org/jira/browse/SPARK-60583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uroš Bojanić resolved SPARK-60583.
----------------------------------
Fix Version/s: 4.4.0
Resolution: Fixed
Issue resolved by pull request 59835
[https://github.com/apache/spark/pull/59835]
> Add golden tests for SHOW commands
> ----------------------------------
>
> Key: SPARK-60583
> URL: https://issues.apache.org/jira/browse/SPARK-60583
> Project: Spark
> Issue Type: Test
> Components: SQL
> Affects Versions: 4.4.0
> Reporter: Vladan Vasić
> Assignee: Vladan Vasić
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.4.0
>
>
> Add a consolidated SQL golden test, show-commands.sql, for SHOW CATALOGS,
> SHOW COLLATIONS and SHOW CURRENT NAMESPACE, including the CURRENT DATABASE and
> CURRENT SCHEMA aliases. Generate both execution-result and analyzed-plan
> golden files.
> Cover 11 SHOW scenarios:
> * Catalogs: catalog loading, case-insensitive wildcard filtering and no-match
> patterns.
> * Current namespace: the session catalog's default and changed databases, a
> catalog with
> an empty default namespace, a quoted multipart V2 namespace and the
> DATABASE/SCHEMA aliases.
> * Collations: a bounded UTF8/ICU wildcard and alternation selection, exact
> matching without
> LIKE and a no-match pattern.
> These tests protect output schemas, returned values and analyzed command
> nodes without
> changing runtime behavior. Use a bounded collation selection rather than
> snapshotting
> the entire ICU inventory.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]