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]


Reply via email to