MongoDB支持Birt支持聚合游标

时间:2015-09-17 10:25:01

标签: mongodb aggregation-framework birt

当我使用Birt的Mongodb聚合时,我有以下错误:

org.eclipse.datatools.connectivity.oda.OdaException: 
Unable to run the Aggregate command operation.
Check that your connected MongoDB server is version 2.2 or later. ;
    com.mongodb.CommandResult$CommandFailure: command failed [aggregate]: 
{ "serverUsed" : "/xxx.xx.xx.xxx:27017" , 
  "errmsg" : "exception: aggregation result exceeds maximum document size (16MB)" , 
  "code" : 16389 , "ok" : 0.0 , 
  "$gleStats" : { "lastOpTime" : { "$ts" : 0 , "$inc" : 0} , 
  "electionId" : { "$oid" : "557cd07784d145278edfba15"}}}

1 个答案:

答案 0 :(得分:0)

是的,您可以运行聚合MongoDB查询。检查MongoDB版本。