//* to debug */ System.out.println("DEBUG: " + pn.toExplainPlanString());
// Skip the Send, Projection, and NestLoop plan nodes.
pn = pn.getChild(0).getChild(0);
assertTrue(pn instanceof NestLoopIndexPlanNode);
ispn = (IndexScanPlanNode)pn.getInlinePlanNode(PlanNodeType.INDEXSCAN);
json = ispn.toJSONString();
assertTrue(json.contains("\"TARGET_INDEX_NAME\":\"IDX_A\""));
pn = pn.getChild(0);
assertTrue(pn instanceof IndexScanPlanNode);
json = pn.toJSONString();
assertTrue(json.contains("\"TARGET_INDEX_NAME\":\"DECODE_IDX3\""));