Hi Tugdual, >> I do not understand why the '_id' is not returned when I do:
>> select * from mongo.db.collection >> Any reason? In most of the scenarios _id is system generated and not used for analytics. That's why, we thought of ignoring this field as of "select *", but user can explicitly mention _id in queries and get the results. Other than this, there is no particular reason. Thanks & Regards, B Anil Kumar. On Mon, Oct 19, 2015 at 10:54 AM, Tugdual Grall <[email protected]> wrote: > Hello, > > I do not understand why the '_id' is not returned when I do: > > select * from mongo.db.collection > > Any reason? > > I would like to remove this line: > > https://github.com/apache/drill/blob/master/contrib/storage-mongo/src/main/java/org/apache/drill/exec/store/mongo/MongoRecordReader.java#L82 > > > (This would solve this issue in the same time: > https://issues.apache.org/jira/browse/DRILL-3505 ) > > Regards > Tug > @tgrall >
