apache/incubator-optiq — pull request #6 by jcentenn (2014-08-01 00:59:40+00:00)
Title: Fix for https://issues.apache.org/jira/browse/OPTIQ-269

Detects the version of mongod to determine which kind of intermediate
result to utilize.

For versions 2.6+, a Cursor result will be returned form the
DBCollection otherwise a AggregationOutput result is returned.

An Iterator object is retrieved from the intermediate result
and returned by MongoTable.aggregate.

Updated dependency in for mongo-java-driver in master/mongodb/pom.xml:

org.mongodb
mongo-java-driver
2.12.3