Package org.voltdb.plannodes

Examples of org.voltdb.plannodes.AbstractPlanNode.updateOutputColumns()


         * "on top" of this work should calculate correct output
         * column state as nodes are added. (That is,
         * the recursive updateOutputColumns() ideally wouldn't
         * have other callers.)
         */
        root.updateOutputColumns(m_catalogDb);

        // PAVLO: Ok so now before this just assumed that we were going to stick a AggregatePlanNode on top
        // of the root that we sent it (which should be a AbstractScanPlanNode or a ReceievePlanNode).
        // But now because we are trying to impress John Hugg (and who isn't really?), we may actually perform
        // part of the aggregation at the remote partitions, so we need a buttom up approach for cleaning
View Full Code Here


        root = handleAggregationOperators(root);
       
//        if (PlanNodeUtil.getPlanNodes(root, ReceivePlanNode.class).isEmpty() == false) {
//            LOG.debug("PAVLO OPTIMIZATION:\n" + PlanNodeUtil.debug(root));
//        }
         root.updateOutputColumns(m_catalogDb);

        if ((subSelectRoot.getPlanNodeType() != PlanNodeType.INDEXSCAN ||
            ((IndexScanPlanNode) subSelectRoot).getSortDirection() == SortDirectionType.INVALID) &&
            m_parsedSelect.orderColumns.size() > 0) {
            root = addOrderBy(root);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.