// System.out.println();
// System.out.println();
// System.err.println(m_parsedSelect.sql);
PlanOptimizer po = new PlanOptimizer(m_context, m_catalogDb);
AbstractPlanNode new_root = po.optimize(m_parsedSelect.sql, root);
// if (root.getPlanNodeType().equals(PlanNodeType.PROJECTION) && PlanNodeUtil.getDepth(root) == 0) {
// System.out.println("Root node type: " + root.getPlanNodeType());
// System.out.println("Depth: " + PlanNodeUtil.getDepth(root));
// System.out.println(PlanNodeUtil.debug(root));