spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hossein Falaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-10903) Make sqlContext global
Date Thu, 08 Oct 2015 20:06:29 GMT

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

Hossein Falaki commented on SPARK-10903:
----------------------------------------

+1 We have seen a lot of questions from new SparkR users about the life cycle of the context.

My question is: are we going to remove or deprecate sparkRSQL.init()? I suggest we should,
because right now calling that method creates a new Java SQLContext object, and having two
of them prevents users form viewing temp tables.

> Make sqlContext global 
> -----------------------
>
>                 Key: SPARK-10903
>                 URL: https://issues.apache.org/jira/browse/SPARK-10903
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SparkR
>            Reporter: Narine Kokhlikyan
>            Priority: Minor
>
> Make sqlContext global so that we don't have to always specify it.
> e.g. createDataFrame(iris) instead of createDataFrame(sqlContext, iris)



--
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


Mime
View raw message