imback82 commented on a change in pull request #26182: [SPARK-29523][SQL] SHOW
COLUMNS should do multi-catalog resolution.
URL: https://github.com/apache/spark/pull/26182#discussion_r340759404
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveSessionCatalog.scala
##########
@@ -339,6 +339,27 @@ class ResolveSessionCatalog(
v1TableName.asTableIdentifier,
partitionSpec)
+ case ShowColumnsStatement(table, namespace) =>
+ val sql = "SHOW COLUMNS"
+ val v1TableName = parseV1Table(table, sql).asTableIdentifier
+ val resolver = conf.resolver
+ val db = namespace match {
Review comment:
Why is this done here? Wouldn't this be done inside `ShowColumnsCommand`
anyway?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]