Package org.apache.drill.exec.planner.physical.visitor

Examples of org.apache.drill.exec.planner.physical.visitor.RewriteProjectToFlatten


    // TODO - re-enable once execution issues are resolved. This rule allows for several flatten operations to appear
    // within a single query, it also breaks up all expressions with complex outputs into their own project operations.
    // It currently appears to be producing good plans, but for the flatten case it is revealing execution errors in the
    // project operator.
//    phyRelNode = ((Prel) phyRelNode).accept(new SplitUpComplexExpressions(planner.getTypeFactory(), context.getDrillOperatorTable(), context.getPlannerSettings().functionImplementationRegistry), null);
    phyRelNode = ((Prel) phyRelNode).accept(new RewriteProjectToFlatten(planner.getTypeFactory(), context.getDrillOperatorTable()), null);
    // Definitely before this one
    /*
     * 2.)
     * Since our operators work via names rather than indices, we have to make to reorder any
     * output before we return data to the user as we may have accidentally shuffled things.
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.planner.physical.visitor.RewriteProjectToFlatten

Copyright © 2018 www.massapicom. 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.