drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacques-n <...@git.apache.org>
Subject [GitHub] drill pull request: DRILL-3623: Use shorter query path for LIMIT 0...
Date Fri, 09 Oct 2015 13:25:42 GMT
Github user jacques-n commented on a diff in the pull request:

    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/DefaultSqlHandler.java
    @@ -162,6 +166,9 @@ public PhysicalPlan getPlan(SqlNode sqlNode) throws ValidationException,
         log("Optiq Logical", queryRelNode, logger);
         DrillRel drel = convertToDrel(queryRelNode, validatedRowType);
    +    if (otherPlan != null) {
    --- End diff --
    This is a hack. Let's create a relnode which is equivalent to using a pojorecord reader
and then when we create the plan, it will effectively be a direct plan.

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message