Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/71#discussion_r14945799
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java ---
    @@ -260,7 +262,8 @@ private void setRawTargets(PlanContext context, 
Target[] targets, String[] refer
         Target [] rawTargets = new Target[projection.getNamedExprs().length];
         for (int i = 0; i < projection.getNamedExprs().length; i++) {
           NamedExpr namedExpr = projection.getNamedExprs()[i];
    -      EvalNode evalNode = exprAnnotator.createEvalNode(plan, block, 
namedExpr.getExpr());
    +      EvalNode evalNode = exprAnnotator.createEvalNode(plan, block, 
namedExpr.getExpr(),
    --- End diff --
    
    In setRawTargets(), raw expressions are found instead of references. So, it 
seems that resolving level should be set as RELS_ONLY. If I misunderstand, 
please let me know. Thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to