schoudhary
06-28-2012, 06:30 AM
I am using Spoon 4.3.0 and want to create a MongoDB Input. (consequently want to use it in reporting in pentaho server/designer)
Where in I want to run a query expression which has GROUP BY in it.
I tried taking help from query examples both from Pentaho and MongoDB sites.
But I get JSON Parser error. I guess, I don't know even how to construct a query having GROUP BY.
Can someone please help me out in this.
For example something in SQL the query would be
Select sum(quantity),sum(price)
where customer = "xyz"
group by product_name;
Any help would be much appreciated!!
Thanks.
Where in I want to run a query expression which has GROUP BY in it.
I tried taking help from query examples both from Pentaho and MongoDB sites.
But I get JSON Parser error. I guess, I don't know even how to construct a query having GROUP BY.
Can someone please help me out in this.
For example something in SQL the query would be
Select sum(quantity),sum(price)
where customer = "xyz"
group by product_name;
Any help would be much appreciated!!
Thanks.