Skip to content

Commit 1dbcb07

Browse files
committed
ORC-2010: Use IANA Identifier America/Los_Angeles instead of US/Pacific in Java
### What changes were proposed in this pull request? This PR aims to use `IANA` Identifier `America/Los_Angeles` instead of `US/Pacific` which is removed from `TZDB`. ### Why are the changes needed? To make Apache ORC code up-to-date with the current `IANA` zone pattern and be robust from the underlying OS changes. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #2418 from dongjoon-hyun/ORC-2010. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 2c023ef) Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent ddd2ee7 commit 1dbcb07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@
700700
<reuseForks>false</reuseForks>
701701
<argLine>-Xmx2048m -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED</argLine>
702702
<environmentVariables>
703-
<TZ>US/Pacific</TZ>
703+
<TZ>America/Los_Angeles</TZ>
704704
<LANG>en_US.UTF-8</LANG>
705705
</environmentVariables>
706706
<useSystemClassLoader>false</useSystemClassLoader>

java/tools/src/test/resources/orc-file-dump-column-type.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ File Statistics:
5858
Column 14: count: 2048 hasNull: false bytesOnDisk: 1277 min: 10000 max: 9999 sum: 10240
5959

6060
Stripes:
61-
Stripe: offset: 3 data: 15540 rows: 2048 tail: 225 index: 464
61+
Stripe: offset: 3 data: 15540 rows: 2048 tail: 238 index: 464
6262
Stream: column 0 section ROW_INDEX start: 3 length 12
6363
Stream: column 1 section ROW_INDEX start: 15 length 24
6464
Stream: column 2 section ROW_INDEX start: 39 length 28

0 commit comments

Comments
 (0)