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

Apache Spark commented on SPARK-15171:
--------------------------------------

User 'clockfly' has created a pull request for this issue:
https://github.com/apache/spark/pull/12945

> Deprecate registerTempTable and add dataset.createTempView
> ----------------------------------------------------------
>
>                 Key: SPARK-15171
>                 URL: https://issues.apache.org/jira/browse/SPARK-15171
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Sean Zhong
>            Priority: Minor
>
> Our current dataset.registerTempTable does not actually materialize data. So, 
> it should be considered as creating a temp view. We can deprecate it and 
> create a new method called dataset.createTempView(replaceIfExists: Boolean). 
> The default value of replaceIfExists should be false. For registerTempTable, 
> it will call dataset.createTempView(replaceIfExists = true).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to