Github user maropu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21052#discussion_r183190136
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/StatisticsCollectionSuite.scala ---
    @@ -382,4 +382,34 @@ class StatisticsCollectionSuite extends 
StatisticsCollectionTestBase with Shared
           }
         }
       }
    +
    +  test("Simple queries must be working, if CBO is turned on") {
    +    withSQLConf(("spark.sql.cbo.enabled", "true")) {
    --- End diff --
    
    nit: `withSQLConf(SQLConf.CBO_ENABLED.key -> "true")`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to