You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/04/30 11:08:12 UTC

[jira] [Commented] (SPARK-15037) Use SparkSession instread of SQLContext in testsuites

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

Dongjoon Hyun commented on SPARK-15037:
---------------------------------------

Hi, [~rxin]. 

Until now, it seems there are two issues.

- `object SQLContext` has still its own unique functions. We cannot replace `SQLContext` completely because `SharedSQLContext` uses it. Also, `MLlibTestSparkContext` does.
- Also, constructor `SparkSession(JavaSparkSession)` or `JavaSparkSession` class is needed for Java testsuite.

We had better handle them as separate issues before this kind of refactoring issue. How do you think about this?

> Use SparkSession instread of SQLContext in testsuites
> -----------------------------------------------------
>
>                 Key: SPARK-15037
>                 URL: https://issues.apache.org/jira/browse/SPARK-15037
>             Project: Spark
>          Issue Type: Test
>            Reporter: Dongjoon Hyun
>
> This issue aims to update the existing testsuites to use `SparkSession` instread of `SQLContext` since `SQLContext` exists just for backward compatibility.



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