cloud-fan commented on a change in pull request #30915:
URL: https://github.com/apache/spark/pull/30915#discussion_r549240528
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/v1/ShowTablesSuite.scala
##########
@@ -100,6 +100,17 @@ trait ShowTablesSuiteBase extends
command.ShowTablesSuiteBase {
}
}
}
+
+ test("no database specified") {
+ Seq(
+ s"SHOW TABLES IN $catalog",
Review comment:
This deserves more discussion. For `SELECT * FROM catalog`, we fill the
current catalog and namespace for this single-part table name.
For `SHOW TABLES IN catalog`, we are resolving namespaces, and I think we
should fill the current catalog for this single-part namespace name.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]