You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2016/11/23 16:52:58 UTC

[jira] [Updated] (HIVE-15274) DruidSelectQueryRecordReader uses wrong value for timestamp

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

Jesus Camacho Rodriguez updated HIVE-15274:
-------------------------------------------
    Summary: DruidSelectQueryRecordReader uses wrong value for timestamp  (was: wrong results on the column __time)

> DruidSelectQueryRecordReader uses wrong value for timestamp
> -----------------------------------------------------------
>
>                 Key: HIVE-15274
>                 URL: https://issues.apache.org/jira/browse/HIVE-15274
>             Project: Hive
>          Issue Type: Bug
>          Components: Druid integration
>            Reporter: slim bouguerra
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Minor
>         Attachments: HIVE-15274.01.patch
>
>
> issuing select * from table will return wrong time column.
> expected results
>  ─────────────────────────────────────────┬────────────┬─────────┐
> │ __time                                  │ dimension1 │ metric1 │
> ├─────────────────────────────────────────┼────────────┼─────────┤
> │ Wed Dec 31 2014 16:00:00 GMT-0800 (PST) │ value1     │ 1       │
> │ Wed Dec 31 2014 16:00:00 GMT-0800 (PST) │ value1.1   │ 1       │
> │ Sun May 31 2015 19:00:00 GMT-0700 (PDT) │ value2     │ 20.5    │
> │ Sun May 31 2015 19:00:00 GMT-0700 (PDT) │ value2.1   │ 32      │
> └─────────────────────────────────────────┴────────────┴─────────┘
> returned result
> 2014-12-31 19:00:00	value1	1.0
> 2014-12-31 19:00:00	value1.1	1.0
> 2014-12-31 19:00:00	value2	20.5
> 2014-12-31 19:00:00	value2.1	32.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)