You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Terry Kim (Jira)" <ji...@apache.org> on 2021/03/10 19:16:00 UTC

[jira] [Created] (SPARK-34700) SessionCatalog's createTempView/createGlobalTempView should accept TemporaryViewRelation

Terry Kim created SPARK-34700:
---------------------------------

             Summary: SessionCatalog's createTempView/createGlobalTempView should accept TemporaryViewRelation 
                 Key: SPARK-34700
                 URL: https://issues.apache.org/jira/browse/SPARK-34700
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Terry Kim


SessionCatalog's createTempView/createGlobalTempView currently accept LogicalPlan to store temp views, but once all the commands are migrated to store `TemporaryViewRelation`, it should accept TemporaryViewRelation instead.

Once this is done, ViewHelper.needsToUncache can remove the following safely: case p => !p.sameResult(aliasedPlan)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org