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

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

It's because `JavaSparkContext` cannot be converted to SparkContext in the 
following code.
{code}
JavaSparkContext ctx = new JavaSparkContext(sparkConf);
SparkSession spark = new SparkSession(ctx)
{code}

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to