SamuelMarks commented on issue #37322:
URL: https://github.com/apache/arrow/issues/37322#issuecomment-1690304476

   Thanks, that got me further:
   ```py
       pq.write_table(row, parquet_filepath)
     File "lib/python3.11/site-packages/pyarrow/parquet/core.py", line 3106, in 
write_table
       writer.write_table(table, row_group_size=row_group_size)
     File "lib/python3.11/site-packages/pyarrow/parquet/core.py", line 1092, in 
write_table
       self.writer.write_table(table, row_group_size=row_group_size)
     File "pyarrow/_parquet.pyx", line 1777, in 
pyarrow._parquet.ParquetWriter.write_table
     File "pyarrow/error.pxi", line 100, in pyarrow.lib.check_status
   pyarrow.lib.ArrowInvalid: Casting from timestamp[ns, tz=UTC] to 
timestamp[us] would lose data: 1692809086
   ```
   
   Maybe it wants `ms`?


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