Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/169#discussion_r40444588 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/common/DrillLimitRelBase.java --- @@ -36,11 +36,17 @@ public abstract class DrillLimitRelBase extends SingleRel implements DrillRelNode { protected RexNode offset; protected RexNode fetch; + private boolean pushDown; // whether limit has been push past its child. --- End diff -- LIMIT is somewhat unique operator in that even when it is pushed past the child, the original LIMIT still remains. Can you add that in the comments because the pushDown flag will be TRUE for the original LIMIT and FALSE for the pushed version.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---