public HavingExec(TaskAttemptContext context, HavingNode plan, PhysicalExec child) { super(context, plan.getInSchema(), plan.getOutSchema(), child); this.qual = plan.getQual(); }
@Override public LogicalNode visitHaving(CompilationContext context, LogicalPlan plan, LogicalPlan.QueryBlock block, HavingNode node, Stack<LogicalNode> stack) throws TajoException { super.visitHaving(context, plan, block, node, stack); compileSelectableNode(context, node.getInSchema(), node); return node; }
public HavingExec(TaskAttemptContext context, HavingNode plan, PhysicalExec child) { super(context, plan.getInSchema(), plan.getOutSchema(), child); this.qual = plan.getQual(); }
@Override public LogicalNode visitHaving(CompilationContext context, LogicalPlan plan, LogicalPlan.QueryBlock block, HavingNode node, Stack<LogicalNode> stack) throws TajoException { super.visitHaving(context, plan, block, node, stack); compileSelectableNode(context, node.getInSchema(), node); return node; }
@Override public LogicalNode visitHaving(ProcessorContext ctx, Stack<Expr> stack, Having expr) throws TajoException { super.visitHaving(ctx, stack, expr); HavingNode node = getNodeFromExpr(ctx.planContext.getPlan(), expr); LogicalNode child = getNonRelationListExpr(ctx.planContext.getPlan(), expr.getChild()); node.setInSchema(child.getOutSchema()); node.setOutSchema(node.getInSchema()); return node; }
@Override public LogicalNode visitHaving(ProcessorContext ctx, Stack<Expr> stack, Having expr) throws TajoException { super.visitHaving(ctx, stack, expr); HavingNode node = getNodeFromExpr(ctx.planContext.getPlan(), expr); LogicalNode child = getNonRelationListExpr(ctx.planContext.getPlan(), expr.getChild()); node.setInSchema(child.getOutSchema()); node.setOutSchema(node.getInSchema()); return node; }