[ 
https://issues.apache.org/jira/browse/HIVE-15274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15691187#comment-15691187
 ] 

Jesus Camacho Rodriguez edited comment on HIVE-15274 at 11/23/16 7:52 PM:
--------------------------------------------------------------------------

[~ashutoshc], fails are unrelated. Could you review it? I have confirmed with 
[~bslim] that this solves the issue with reusing timestamp across records 
returned by Druid select query. I will tackle issue with timezone is a 
follow-up.


was (Author: jcamachorodriguez):
[~ashutoshc], fails are unrelated. Could you review it? I confirm with [~bslim] 
that this solves the issue with reusing timestamp across records returned by 
Druid select query. I will tackle issue with timezone is a follow-up.

> 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)

Reply via email to