"select * from l x, l where x.b = ? and DECODE(x.a, null, 0, x.a) = 0 and x.id = ? and l.lname = x.lname;");
//* to debug */ System.out.println("DEBUG: " + pn.toExplainPlanString());
// Skip the Send, Projection, and NestLoop plan nodes.
pn = pn.getChild(0).getChild(0).getChild(0);
assertTrue(pn instanceof IndexScanPlanNode);
json = pn.toJSONString();
assertTrue(json.contains("\"TARGET_INDEX_NAME\":\"DECODE_IDX3\""));
ispn = (IndexScanPlanNode)pn;
assertEquals(3, ispn.getSearchKeyExpressions().size());
pn = compile(