[ https://issues.apache.org/jira/browse/SPARK-24718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-24718. ---------------------------------- Resolution: Fixed Fix Version/s: 2.4.0 Issue resolved by pull request 21741 [https://github.com/apache/spark/pull/21741] > Timestamp support pushdown to parquet data source > ------------------------------------------------- > > Key: SPARK-24718 > URL: https://issues.apache.org/jira/browse/SPARK-24718 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.4.0 > Reporter: Yuming Wang > Assignee: Yuming Wang > Priority: Major > Fix For: 2.4.0 > > > Some thing like this: > {code:java} > 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) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org