cloud-fan commented on a change in pull request #26717: [SPARK-30077][SQL] Create TEMPORARY VIEW USING should look up catalog/table like v2 commands URL: https://github.com/apache/spark/pull/26717#discussion_r355265322
########## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statements.scala ########## @@ -101,6 +101,17 @@ case class CreateViewStatement( replace: Boolean, viewType: ViewType) extends ParsedStatement +/** + * A CREATE TEMP VIEW USING statement, as parsed from SQL. + */ +case class CreateTempViewUsingStatement( Review comment: ah yes, CREATE TEMPORARY TABLE ... USING `CreateTempViewUsing` doesn't need catalog at all. It needs `SessionCatalog` now because somehow we manage temp views by `SessionCatalog`, but we may refactor it in the future. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org