hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15274) DruidSelectQueryRecordReader uses wrong value for timestamp
Date Wed, 23 Nov 2016 19:59:58 GMT

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

Ashutosh Chauhan commented on HIVE-15274:
-----------------------------------------

Is similar fix needed for other Druid record readers, like GByreader etc?

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

Mime
View raw message