Skip to content

Conversation

@discivigour
Copy link
Contributor

@discivigour discivigour commented Feb 11, 2026

Purpose

When fastavro writes timestamp without a timezone (such as pyarrow.timestamp('us')), the write and read results will differ by 8 hours.

This is because fastavro calculates the timestamp based on the local timezone (UTC+8) when writing no-timezone datetime data of the timestamp-millis logical type. It subtracts 8 hours when storing UTC timestamp, resulting in an 8-hour difference when reading.

Tests

test_py_write_read_pk_table()

API and Format

Documentation

Generative AI tooling

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit 7914ab0 into apache:master Feb 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants