I have created a transformation in Pentaho Kettle where I am pulling some data from Mongo Collection, via Mongo Input, but the problem I am facing is I have created two named parameters in the same transformation and they are not being replaced in Mongo Query Expression Tab. Below is my mongo query expression:
{$and:[{'key1':{'$in':['${para1}']}},{'key2':{'$in':['${para2}']}}]}
Below are the two options I have tried from command line:
./pan.sh -file='/dir../pull_data.ktr' -param:para1=hello -param:para2=world -Level=Basic > /dir../etl.log
./pan.sh -file='/dir../pull_data.ktr' -param:"para1=hello" -param:"para2=world" -Level=Basic > /dir../etl.log
I am using Mac OSX and Pentaho Kettle (CE 5.2). Is it possible to use named parameters in the same transformation?