hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15274) wrong results on the column __time
Date Wed, 23 Nov 2016 16:36:58 GMT

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

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

I wanted to share the fix with you so you could validate it running against Druid, but I am
modifying _TestDruidSerDe_ (all Select results in that test contained the same timestamp),to
cover this case.

> wrong results on the column __time
> ----------------------------------
>
>                 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.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