You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/01/29 09:05:34 UTC
[jira] [Commented] (SPARK-5476) SQLContext.createDataFrame
shouldn't be an implicit function
[ https://issues.apache.org/jira/browse/SPARK-5476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296553#comment-14296553 ]
Apache Spark commented on SPARK-5476:
-------------------------------------
User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/4265
> SQLContext.createDataFrame shouldn't be an implicit function
> ------------------------------------------------------------
>
> Key: SPARK-5476
> URL: https://issues.apache.org/jira/browse/SPARK-5476
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Reynold Xin
> Assignee: Reynold Xin
>
> It is sort of strange to ask users to import sqlContext._ or sqlContext.createDataFrame.
> The proposal here is to ask users to define an implicit val for SQLContext, and then dsl package object should include an implicit function that converts an RDD[Product] to a DataFrame.
--
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