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

Examples of org.apache.drill.exec.planner.physical.ProjectAllowDupPrel


      }

      RelDataType newRowType = RexUtil.createStructType(child.getCluster().getTypeFactory(), exprs, origRowType.getFieldNames());

      // Insert a top project which allows duplicate columns.
      child = new ProjectAllowDupPrel(child.getCluster(), child.getTraitSet(), child, exprs, newRowType);

      List<RelNode> children = Lists.newArrayList();
      children.add( child);
      return (Prel) root.copy(root.getTraitSet(), children);
View Full Code Here


      }

      RelDataType newRowType = RexUtil.createStructType(child.getCluster().getTypeFactory(), exprs, origRowType.getFieldNames());

      // Insert a top project which allows duplicate columns.
      child = new ProjectAllowDupPrel(child.getCluster(), child.getTraitSet(), child, exprs, newRowType);

      List<RelNode> children = Lists.newArrayList();
      children.add( child);
      return (Prel) root.copy(root.getTraitSet(), children);
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.planner.physical.ProjectAllowDupPrel

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.