You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2016/05/12 07:57:12 UTC
[jira] [Resolved] (SPARK-15171) Deprecate registerTempTable and add
dataset.createTempView
[ https://issues.apache.org/jira/browse/SPARK-15171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian resolved SPARK-15171.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 12945
[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: New Feature
> Reporter: Sean Zhong
> Assignee: Sean Zhong
> Priority: Critical
> Labels: release_notes, releasenotes
> Fix For: 2.0.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org