spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-15618) Use SparkSession.builder.sparkContext(...) in tests where possible
Date Fri, 27 May 2016 18:28:13 GMT

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

Dongjoon Hyun commented on SPARK-15618:
---------------------------------------

Thank you! Right. That's better.

> Use SparkSession.builder.sparkContext(...) in tests where possible
> ------------------------------------------------------------------
>
>                 Key: SPARK-15618
>                 URL: https://issues.apache.org/jira/browse/SPARK-15618
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Andrew Or
>            Assignee: Dongjoon Hyun
>            Priority: Minor
>
> There are many places where we could be more explicit about the particular underlying
SparkContext we want, but we just do `SparkSession.builder.getOrCreate()` anyway. It's better
to be clearer in the code.



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