This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 1dbcb07eb ORC-2010: Use `IANA` Identifier `America/Los_Angeles` 
instead of `US/Pacific` in Java
1dbcb07eb is described below

commit 1dbcb07eb2c3880434e8cd1a39acbde711e41716
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Fri Sep 26 12:43:07 2025 -0700

    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 2c023efa844191f71dd069f42ab8dd0f7fcc8e12)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 java/pom.xml                                                | 2 +-
 java/tools/src/test/resources/orc-file-dump-column-type.out | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/pom.xml b/java/pom.xml
index 2db069ef3..20229c4f8 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -700,7 +700,7 @@
           <reuseForks>false</reuseForks>
           <argLine>-Xmx2048m -XX:+IgnoreUnrecognizedVMOptions 
--add-opens=java.base/java.nio=ALL-UNNAMED 
--add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED</argLine>
           <environmentVariables>
-            <TZ>US/Pacific</TZ>
+            <TZ>America/Los_Angeles</TZ>
             <LANG>en_US.UTF-8</LANG>
           </environmentVariables>
           <useSystemClassLoader>false</useSystemClassLoader>
diff --git a/java/tools/src/test/resources/orc-file-dump-column-type.out 
b/java/tools/src/test/resources/orc-file-dump-column-type.out
index 73267e728..f5784d91c 100644
--- a/java/tools/src/test/resources/orc-file-dump-column-type.out
+++ b/java/tools/src/test/resources/orc-file-dump-column-type.out
@@ -58,7 +58,7 @@ File Statistics:
   Column 14: count: 2048 hasNull: false bytesOnDisk: 1277 min: 10000 max: 9999 
 sum: 10240
 
 Stripes:
-  Stripe: offset: 3 data: 15540 rows: 2048 tail: 225 index: 464
+  Stripe: offset: 3 data: 15540 rows: 2048 tail: 238 index: 464
     Stream: column 0 section ROW_INDEX start: 3 length 12
     Stream: column 1 section ROW_INDEX start: 15 length 24
     Stream: column 2 section ROW_INDEX start: 39 length 28

Reply via email to