Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13380#discussion_r64996960
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/joins/BroadcastJoinSuite.scala
 ---
    @@ -48,7 +48,7 @@ class BroadcastJoinSuite extends QueryTest with 
SQLTestUtils {
           .setMaster("local-cluster[2,1,1024]")
           .setAppName("testing")
         val sc = new SparkContext(conf)
    -    spark = SparkSession.builder.getOrCreate()
    --- End diff --
    
    FYI, after #13352 , I proceeded to #13365 ([SPARK-15618][SQL][MLLIB] Use 
SparkSession.builder.sparkContext if applicable.)
    You can fix the above line like the following.
    ```
    - spark = SparkSession.builder().config(sc.getConf).getOrCreate()
    + spark = SparkSession.builder().sparkContext(sc).getOrCreate()
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to