[ 
https://issues.apache.org/jira/browse/SPARK-20137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949107#comment-15949107
 ] 

guoxiaolongzte commented on SPARK-20137:
----------------------------------------

I also want to know why, thank you.

> 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
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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