You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2020/03/18 14:35:00 UTC

[jira] [Resolved] (IMPALA-9385) Orc scanner does UTC->local conversion if use_local_tz_for_unix_timestamp_conversions=1

     [ https://issues.apache.org/jira/browse/IMPALA-9385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Csaba Ringhofer resolved IMPALA-9385.
-------------------------------------
    Fix Version/s: Impala 3.4.0
       Resolution: Fixed

> Orc scanner does UTC->local conversion if 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
>            Assignee: Csaba Ringhofer
>            Priority: Major
>              Labels: Orc
>             Fix For: Impala 3.4.0
>
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org