Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/71#discussion_r14946827
--- Diff:
tajo-core/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java ---
@@ -712,7 +718,8 @@ public LimitNode visitLimit(PlanContext context,
Stack<Expr> stack, Limit limit)
EvalNode firstFetNum;
LogicalNode child;
if (limit.getFetchFirstNum().getType() == OpType.Literal) {
- firstFetNum = exprAnnotator.createEvalNode(context.plan, block,
limit.getFetchFirstNum());
+ firstFetNum = exprAnnotator.createEvalNode(context.plan, block,
limit.getFetchFirstNum(),
+ NameResolvingMode.RELS_ONLY);
--- End diff --
Would you explain why RELS_ONLY is used for limit, please?
---
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.
---