[
https://issues.apache.org/jira/browse/SPARK-15618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304498#comment-15304498
]
Dongjoon Hyun commented on SPARK-15618:
---------------------------------------
Is it okay if I remove `private[sql]` from that function?
I think it needs the same access level with `config`.
> 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: [email protected]
For additional commands, e-mail: [email protected]