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

Jesus Camacho Rodriguez commented on HIVE-15274:
------------------------------------------------

[~ashutoshc], it is not needed, because all query types have different results 
format, and _select_ is a bit special because it has the timestamp per result 
set and per result item (or event). You can see it here: 
http://druid.io/docs/latest/querying/select-query.html

> 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