drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalii Diravka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-2975) Extended Json : Time type reporting data which is dependent on the system on which it ran
Date Tue, 20 Jun 2017 06:59:00 GMT

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

Vitalii Diravka commented on DRILL-2975:
----------------------------------------

[~rkins] If these two queries are used on machines with different timezones, the result should
be different as well. 

> Extended Json : Time type reporting data which is dependent on the system on which it
ran
> -----------------------------------------------------------------------------------------
>
>                 Key: DRILL-2975
>                 URL: https://issues.apache.org/jira/browse/DRILL-2975
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - JSON
>    Affects Versions: 1.2.0
>            Reporter: Rahul Challapalli
>            Assignee: Vitalii Diravka
>            Priority: Critical
>             Fix For: Future
>
>
> git.commit.id.abbrev=3b19076
> Data :
> {code}
> {
>   "int_col" : {"$numberLong": 1},
>   "date_col" : {"$dateDay": "2012-05-22"},
>   "time_col"  : {"$time": "19:20:30.45Z"}
> }
> {code}
> System 1 :
> {code}
> 0: jdbc:drill:schema=dfs_eea> select time_col from `extended_json/data1.json` d;
> +------------+
> |  time_col  |
> +------------+
> | 19:20:30.450 |
> +------------+
> {code}
> System 2 :
> {code}
> 0: jdbc:drill:schema=dfs.drillTestDirComplexP> select time_col from `temp.json`;
> +------------+
> |  time_col  |
> +------------+
> | 11:20:30.450 |
> +------------+
> {code}
> The above results are inconsistent.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message