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

    https://github.com/apache/spark/pull/21556#discussion_r201754998
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala
 ---
    @@ -202,6 +283,16 @@ private[parquet] class ParquetFilters(pushDownDate: 
Boolean, pushDownStartWith:
         case ParquetDateType if pushDownDate =>
           (n: String, v: Any) =>
             FilterApi.gtEq(intColumn(n), 
dateToDays(v.asInstanceOf[Date]).asInstanceOf[Integer])
    +
    +    case ParquetSchemaType(DECIMAL, INT32, 0, _) if pushDownDecimal =>
    --- End diff --
    
    Why match 0 instead of _?


---

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

Reply via email to