handmadecode opened a new pull request, #2793:
URL: https://github.com/apache/drill/pull/2793

   # [DRILL-8421](https://issues.apache.org/jira/browse/DRILL-8421): Truncate 
parquet microsecond columns
   
   ## Description
   
   The metadata min and max values of parquet microsecond columns are truncated 
to milliseconds, which is the time unit expected by the initial file pruning 
during filtering. Also, `TIME_MICROS` columns are read as 64-bit values before 
they are truncated to 32-bit milliseconds values. Previously they were read as 
32-bit values, causing values > `Integer.MAX_VALUE` to be incorrect.
   
   The second fix also addresses 
[DRILL-8423](https://issues.apache.org/jira/browse/DRILL-8423).
   
   ## Documentation
   Bugfix only, no documentation changes
   
   ## Testing
   Unit tests added in new test class 
`org.apache.drill.exec.store.parquet.TestMicrosecondColumns`.
   


-- 
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: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to