+ "WHERE getMapFieldValue( getZNRecordFromMap(:IDEALSTATES , 'TestDB'), :partitionName, :_currObj.id)='MASTER'";
Map<String, Object> bindVariables = new HashMap<String, Object>();
bindVariables.put("partitionName", "TestDB_2");
ClusterJosqlQueryProcessor p = new ClusterJosqlQueryProcessor(manager);
List<Object> result = p.runJoSqlQuery(SQL, bindVariables, null);
Assert.assertEquals(result.size(), 1);
List<Object> firstList = (List<Object>) result.get(0);
Assert.assertTrue(((String) (firstList.get(0))).equalsIgnoreCase("localhost_12921"));