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

    https://github.com/apache/spark/pull/22394#discussion_r217052036
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetSchemaPruningSuite.scala
 ---
    @@ -245,28 +249,32 @@ class ParquetSchemaPruningSuite
         checkAnswer(query.orderBy("id"), Row(1) :: Nil)
       }
     
    -  private def testMixedCasePruning(testName: String)(testThunk: => Unit) {
    -    withSQLConf(SQLConf.PARQUET_VECTORIZED_READER_ENABLED.key -> "true",
    -      SQLConf.CASE_SENSITIVE.key -> "true") {
    -      test(s"Spark vectorized reader - case-sensitive parser - mixed-case 
schema - $testName") {
    -          withMixedCaseData(testThunk)
    +  private def testExactCasePruning(testName: String)(testThunk: => Unit) {
    --- End diff --
    
    The method names are meant to clarify the kind of queries being tested, not 
the setting of `SQLConf.CASE_SENSITIVE.key`. In this case, 
`testExactCasePruning` is supposed to mean that we're passing in a test in 
which the column names in the query are exactly the same as the column names in 
the relation.
    
    It's not a very good name in that sense. I'll try to make it clearer and 
add a code comment to clarify.


---

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

Reply via email to