Csaba Ringhofer created IMPALA-9385:
---------------------------------------

             Summary: Orc scanner does UTC->local conversion of 
use_local_tz_for_unix_timestamp_conversions=1
                 Key: IMPALA-9385
                 URL: https://issues.apache.org/jira/browse/IMPALA-9385
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Csaba Ringhofer


https://github.com/apache/impala/blob/cad156181b29b7897fb2366bd621f2349c090e20/be/src/exec/orc-column-readers.cc#L195

Orc scanner uses TimestampValue::FromUnixTimeNanos() to convert sec + nano 
representation to Impala's TimestampValue (day + nano). That function is 
affected by flag use_local_tz_for_unix_timestamp_conversions, while that global 
option should not affect Orc (Parquet has its own related flag 
convert_legacy_hive_parquet_utc_timestamps, I hope we won't need such hacks for 
Orc).




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to