raviston commented on PR #60293:
URL: https://github.com/apache/spark/pull/60293#issuecomment-6767509502

   I checked the nanosecond timestamp types. `TIMESTAMP_LTZ(p)` and 
`TIMESTAMP_NTZ(p)` have the same problem on master: a file of `0001-01-02`, 
`1000-01-01`, `1500-01-01` or `1582-10-04 20:00:00` returns 0 rows for `=` and 
for `<=` or `>=` with pushdown on, and 1 with it off. Values from 1582-10-16 on 
are correct.
   
   I filed it as 
[SPARK-61366](https://issues.apache.org/jira/browse/SPARK-61366) and will fix 
it in a separate PR after this one, since both change the same part of 
`OrcFilters`. This PR stays limited to `TimestampType`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to