cloud-fan commented on code in PR #50008:
URL: https://github.com/apache/spark/pull/50008#discussion_r1962798286
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowTablesExec.scala:
##########
@@ -50,8 +49,7 @@ case class ShowTablesExec(
private def isTempView(ident: Identifier, catalog: TableCatalog): Boolean = {
if (CatalogV2Util.isSessionCatalog(catalog)) {
- session.sessionState.catalog
- .isTempView((ident.namespace() :+ ident.name()).toImmutableArraySeq)
+ session.sessionState.catalog.isTempView(ident.namespace() :+
ident.name())
Review Comment:
note: this doesn't compile with scala 2.13 and I added `.toSeq` when forward
porting this commit to 4.0 and master.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]