comphead opened a new issue, #7958:
URL: https://github.com/apache/arrow-datafusion/issues/7958

   ### Describe the bug
   
   DF reads parquet timestamp datatype as nanos from parquet file whereas 
DuckDb and Spark treats timestamp datatype as seconds
   
   ### To Reproduce
   
   create a parquet file with timestamp value -62125747200 and read it back
   
   DuckDb or Spark reads the value correctly
   
   ```
   0001-04-25 00:00:00
   ```
   but DF reads timestamps as nanos as provide the wrong answer
   
   ```
   ❯ select * from test;
   +-------------------------------+
   | a                             |
   +-------------------------------+
   | 1754-12-22T22:43:41.128654848 |
   +-------------------------------+
   ```
   
   ### Expected behavior
   
   Behavior should be the same
   
   ### Additional context
   
   _No response_


-- 
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]

Reply via email to