cloud-fan commented on a change in pull request #26540: [SPARK-29829][SQL] SHOW
TABLE EXTENDED should do multi-catalog resolution
URL: https://github.com/apache/spark/pull/26540#discussion_r346679770
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveSessionCatalog.scala
##########
@@ -312,6 +312,15 @@ class ResolveSessionCatalog(
case ShowTablesStatement(None, pattern) if
isSessionCatalog(currentCatalog) =>
ShowTablesCommand(None, pattern)
+ case ShowTableStatement(namespace, pattern, partitionsSpec) =>
+ val db = namespace match {
+ case Some(namespace) if (namespace.length != 1) =>
Review comment:
nit: `if namespace.length != 1 =>`
----------------------------------------------------------------
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]