Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hi,

I have installed MongoDB 2.6.7 on my System (locally). I have created a data source in Knowage successfully and then I could use Aggregate function for creating data set without any problem. But at this time I want to run aggregate function on a MongoDB that is located on a remote server. The version of this MongoDB is 3.4. I have created a new data source for that successfully but I cannot run aggregate function on it in data set creation, while I can run this aggregate function on local MongoDB version 2.6 using Knowage.

When I use aggregate function (exactly the same code) locally on MongoDB 2.6.7 I can save the results in “var query” but in version 3.4 this leads to a syntax error (fig 1).

What is the problem with "var query"?

As an alternative solution I have used sbiDatasetfixedResult (in format like " sbiDatasetfixedResult= db.getCollection('connection_log').aggregate([...])" ), it returns such a result (fig 2). But this format in not useful for me. please let me know, If I use wrong format in applying sbiDatasetfixedResult. 

I must say when I am working with mongodb 3.4 I can use "var query=db.<collection>.group()" for creating that data set but it wastes too many time for running (10 hour). 

Please help me ASAP, 

Thank you in Advance

Environment Knowage-6_1_1-CE-Installer,Windows7, Chrome
closed with the note: CLOSED FOR LONG USER INACTIVITY
in Data Set by (730 points)
closed by
Hi, please check the log files on the server and search if there is a more detailed explanation to the error that you are seeing in the user interface.
...