Github user jacques-n commented on a diff in the pull request:

    https://github.com/apache/drill/pull/193#discussion_r41628985
  
    --- 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, RelConv
     
         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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to