GitHub user tgrall opened a pull request:
https://github.com/apache/drill/pull/210
Add the _id when using a * projection see JIRA : DRILL-3505
When the user is doing STAR_COLUMN , the system now asks mongodb to return
the _id.
Behing the scene the mongo query does not have any field in the
projection, so it returns all fields including the _id.
I was not able to run succesfully any test in the current branch so I could
not add test. (will ask question on ml)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tgrall/drill DRILL-3505
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/210.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #210
----
commit 2e3229d20a8e06920f8f6102568fe9779abfddb3
Author: Tugdual Grall <[email protected]>
Date: 2015-10-20T09:32:37Z
Add the _id when using a * projection see JIRA : DRILL-3505
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---