hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (HIVE-15850) Proper handling of timezone in Druid storage handler
Date Wed, 08 Feb 2017 13:18:41 GMT


ASF GitHub Bot commented on HIVE-15850:

GitHub user jcamachor opened a pull request:

    HIVE-15850: Proper handling of timezone in Druid storage handler


You can merge this pull request into a Git repository by running:

    $ git pull HIVE-15850

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #143
commit 00de5729c4a8bfe8f1adc3410e7510f7286c85b4
Author: Jesus Camacho Rodriguez <>
Date:   2017-02-08T13:16:41Z

    HIVE-15850: Proper handling of timezone in Druid storage handler


> Proper handling of timezone in Druid storage handler
> ----------------------------------------------------
>                 Key: HIVE-15850
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Druid integration
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Critical
> We need to make sure that filters on timestamp are represented with timezone when we
go into Calcite and converting them again when we go back from Calcite to Hive. That would
help us to 1) push the correct filters to Druid, and 2) if filters are not pushed at all (they
remain in the Calcite plan), they will be correctly represented in Hive. I have checked and
AFAIK this is currently done correctly (,, and
> Secondly, we need to make sure we read/write timestamp data correctly from/to Druid.
> - When we write timestamp to Druid, we should include the timezone, which would allow
Druid to handle them properly. We do that already.
> - When we read timestamp from Druid, we should transform the timestamp to be based on
Hive timezone. This will give us a consistent behavior of Druid-on-Hive vs Hive-standalone,
since timestamp in Hive is represented to the user using Hive client timezone. Currently we
do not do that.

This message was sent by Atlassian JIRA

View raw message