Skip to content

Conversation

@serramatutu
Copy link

@serramatutu serramatutu commented Oct 30, 2025

Which issue does this PR close?

(TODO: create Github Issue if the [VOTE] succeeds)

No issue yet. This is still being discussed in the mailing list, and this PR is here for reference.

FORMAT Pull request: apache/arrow#48002

Rationale for this change

Please refer to the mailing list discussion (we'll send an e-mail with the proposal soon).

What changes are included in this PR?

This commit adds a new TimestampWithOffset extension type. This type represents a timestamp column that stores potentially different timezone offsets per value. The timestamp is stored in UTC alongside the original timezone offset in minutes.

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes, this is a new proposed canonical extension type.

This commit adds a new `TimestampWithOffset` extension type that can be
used to represent timestamps with per-row timezone information. It
stores information in a `struct` with 2 fields, `timestamp=[T, "UTC"]`,
where `T` can be any `arrow.TimeUnit` and `offset_minutes=int16`, which
represents the offset in minutes from the UTC timestamp.
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.

1 participant