Ruhui Wang created SPARK-20137:
----------------------------------

             Summary: In Spark1.5 I can 'cache table as select' for many times. 
In Spark2.1 it will show error TempTableAlreadyExistsException
                 Key: SPARK-20137
                 URL: https://issues.apache.org/jira/browse/SPARK-20137
             Project: Spark
          Issue Type: Question
          Components: SQL
    Affects Versions: 2.1.0
            Reporter: Ruhui Wang


About  'cache table as select'. In Spark1.5, I can run this sql for many times: 
 
cache table t as select * from t1;  
cache table t as select * from t2;  

In Spark2.1 when I run the second sql will show "Error in query: Temporary 
table 't1' already exists;"  
Why Spark2.1 don't support this sql??  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to