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

Adam Gilmore commented on DRILL-2879:
-------------------------------------

I've hit a similar issue to this (well, kind of the same).  Basically, since 
the Mongo driver was upgraded to 3.0, it now uses a different serialization 
from BSON -> JSON.  This means, where previously dates were serialized 
(correctly) as { $date: "ISO8601" }, it now serializes as { $date: 
timestamp_in_millis } and thus Drill blows up when querying Mongo with any 
dates.

So really, this is quite a critical bug, as you can no longer query Mongo with 
dates.  I am testing the patch above to see if that resolves this issue, but I 
think the points [~jnadeau] made re the oid are pretty valid.

> Drill extended json's support $oid
> ----------------------------------
>
>                 Key: DRILL-2879
>                 URL: https://issues.apache.org/jira/browse/DRILL-2879
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - JSON
>            Reporter: Bhallamudi Venkata Siva Kamesh
>            Assignee: Jacques Nadeau
>             Fix For: 1.2.0
>
>         Attachments: DRILL-2879_1.patch, extended.json, extendedjson.patch
>
>
> Enhancing JSON reader to parse  $oid (from mongo). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to