zilto commented on issue #47043:
URL: https://github.com/apache/arrow/issues/47043#issuecomment-3085667378
For follow-up, I pinned down my issue to this problem:
```python
import datetime
import pyarrow
from pyarrow._csv import CSVWriter
datetimes = [datetime.datetime(2020, 1, 1, 8, 0, 0), datetime.datetime(2020,
1, 2, 9, 30, 0)]
array = pyarrow.array(datetimes, type=pyarrow.timestamp('s', tz='+00:00'))
table = pyarrow.Table.from_arrays([array], names=["col_timestamptz"])
writer = CSVWriter("file.csv", table.schema)
writer.write(table)
# raises pyarrow.lib.ArrowInvalid: Cannot locate timezone '+00:00': +00:00
not found in timezone database
```
--
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]