Michael Gokhman created DRILL-4307:
--------------------------------------
Summary: new MongoDB BSON record reader breaks _id SELECT-ion
Key: DRILL-4307
URL: https://issues.apache.org/jira/browse/DRILL-4307
Project: Apache Drill
Issue Type: Bug
Components: Storage - MongoDB
Affects Versions: 1.5.0
Reporter: Michael Gokhman
in Drill 1.4, SELECT-ing an _id results in:
{code}
{"$oid":"567ff2697f2310849fea0666"}
{code}
as expected.
however, when working with the master branch, SELECT-ing an _id results in a
something that looks like a pointer:
{code}
[B@3149a…]
{code}
This is caused by DRILL-3478, and can be avoided by disabling the new BSON
record reder:
{code:sql}
ALTER SESSION SET store.mongo.bson.record.reader = false
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)