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 Wed, 31 May 2017 15:32:05 GMT

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

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

[~rkins] Could you provide the output of above queries with TIMEOFDAY() function? For example:
{code}
SELECT time_col, TIMEOFDAY() FROM `temp.json`;
{code}


> 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.3.15#6346)

Mime
View raw message