Description
Some thing like this:
case ParquetSchemaType(TIMESTAMP_MICROS, INT64, null) if pushDownDecimal => (n: String, v: Any) => FilterApi.eq( longColumn(n), Option(v).map(t => (t.asInstanceOf[java.sql.Timestamp].getTime * 1000) .asInstanceOf[java.lang.Long]).orNull) case ParquetSchemaType(TIMESTAMP_MILLIS, INT64, null) if pushDownDecimal => (n: String, v: Any) => FilterApi.eq( longColumn(n), Option(v).map(_.asInstanceOf[java.sql.Timestamp].getTime .asInstanceOf[java.lang.Long]).orNull)
Attachments
Issue Links
- is duplicated by
-
SPARK-11784 Support Timestamp filter pushdown in Parquet datasource
- Resolved
- is related to
-
SPARK-24716 Refactor ParquetFilters
- Resolved
- links to