Commit 89d6b49
authored
Add
# Which issue does this PR close?
Implement `arrow.timestamp_with_offset` canonical extension type.
# Rationale for this change
Be compliant with Arrow spec: apache/arrow#48002
# 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 canonical extension type.TimestampWithOffset canonical extension type (#8743)1 parent a453c84 commit 89d6b49
File tree
2 files changed
+548
-0
lines changed- arrow-schema/src/extension/canonical
2 files changed
+548
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
| |||
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
| |||
148 | 158 | | |
149 | 159 | | |
150 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
0 commit comments