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

    https://github.com/apache/spark/pull/21682#discussion_r199400031
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala
 ---
    @@ -69,6 +77,14 @@ private[parquet] class ParquetFilters(pushDownDate: 
Boolean, pushDownStartWith:
       private val makeNotEq: PartialFunction[DataType, (String, Any) => 
FilterPredicate] = {
         case BooleanType =>
           (n: String, v: Any) => FilterApi.notEq(booleanColumn(n), 
v.asInstanceOf[java.lang.Boolean])
    +    case ByteType =>
    --- End diff --
    
    Just for doubly sure, is it an official way to handle short and byte? Can 
you double check and leave the description API specification @wangyum? Parquet 
one is pretty core and we should better be clear on this. @rdblue too.


---

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

Reply via email to