jiangzhx commented on issue #2044:
URL: 
https://github.com/apache/arrow-datafusion/issues/2044#issuecomment-1084095786


   > @alitrack, the issue may be caused by "ARROW:schema" key-value pair in 
.parquet metadata - it contains schema which treats pickup/dropoff_datatime 
fields as Timestamp(Nanosecond) instead of Timestamp(Microseconds) in actual 
file schema. I suppose removing this tag from file metadata should help.
   
   i did more research, read parquet metadata with parquet = { version = 
"9.0.0"} .
   the value of key ARROW:schema was base64 encoding .
   
   @korowa  was right, the column pickup_datetim's datatype was datetime64[ns]
   
   `
           {
               "name": "pickup_datetime",
               "field_name": "pickup_datetime",
               "pandas_type": "datetime",
               "numpy_type": "datetime64[ns]",
               "metadata": null
           },
   
   `
   
   
   
   
   
   


-- 
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: github-unsubscr...@arrow.apache.org

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


Reply via email to