[
https://issues.apache.org/jira/browse/DRILL-8118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484258#comment-17484258
]
ASF GitHub Bot commented on DRILL-8118:
---------------------------------------
cgivre opened a new pull request #2442:
URL: https://github.com/apache/drill/pull/2442
# [DRILL-8118](https://issues.apache.org/jira/browse/DRILL-8118): Add Option
to Allow Disk Use on Mongo Queries
## Description
MongoDB has a strange feature whereby queries which use more than 100MB of
memory will by default fail. Mongo allows the user to specify whether they
want the query to spill to disk which allows larger queries but at a
performance cost.
This minor PR adds the ability for a user to specify whether they want this
option included in Mongo queries. This only affects aggregate queries in
Mongo.
## Documentation
This adds a new config option to the mongo config: `allowDiskUse` which,
when set to `true`, will pass that parameter down to MongoDB during aggregate
queries.
## Testing
Ran unit tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Add Option to Allow Disk Use on Mongo Queries
> ---------------------------------------------
>
> Key: DRILL-8118
> URL: https://issues.apache.org/jira/browse/DRILL-8118
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - MongoDB
> Affects Versions: 1.19.0
> Reporter: Charles Givre
> Assignee: Charles Givre
> Priority: Major
> Fix For: 1.20.0
>
>
> MongoDB has a strange feature (?) whereby queries which use more than 100MB
> of memory will by default fail. Mongo allows the user to specify whether
> they want the query to spill to disk which allows larger queries but at a
> performance cost.
> This minor PR adds the ability for a user to specify whether they want this
> option included in Mongo queries. This only affects aggregate queries in
> Mongo.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)