imback82 commented on a change in pull request #27642: [SPARK-30885][SQL] V1
table name should be fully qualified if catalog name is provided
URL: https://github.com/apache/spark/pull/27642#discussion_r383378881
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveSessionCatalog.scala
##########
@@ -415,6 +404,10 @@ class ResolveSessionCatalog(
partition)
case ShowCreateTableStatement(tbl, asSerde) if !asSerde =>
+ if (isTempView(tbl)) {
+ throw new AnalysisException(
Review comment:
OK.
That was my original implementation, but I did it this way because you will
get `SHOW CREATE TABLE is only supported with temp views or v1 tables` then if
you pass temp view, you get `SHOW CREATE TABLE is not supported on a temporary
view`.
But I will just call `parseTempVieworV1Table` here. Thanks!
----------------------------------------------------------------
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]