[ 
https://issues.apache.org/jira/browse/DRILL-7333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894799#comment-16894799
 ] 

ASF GitHub Bot commented on DRILL-7333:
---------------------------------------

paul-rogers commented on pull request #1830: DRILL-7333: Set container record 
count where missing
URL: https://github.com/apache/drill/pull/1830#discussion_r308017075
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterRecordBatch.java
 ##########
 @@ -164,15 +167,14 @@ protected Filterer generateSV4Filterer() throws 
SchemaChangeException {
     } catch (ClassTransformationException | IOException e) {
       throw new SchemaChangeException("Failure while attempting to load 
generated class", e);
     }
-
   }
 
   protected Filterer generateSV2Filterer() throws SchemaChangeException {
     final ErrorCollector collector = new ErrorCollectorImpl();
     final List<TransferPair> transfers = Lists.newArrayList();
     final ClassGenerator<Filterer> cg = 
CodeGenerator.getRoot(Filterer.TEMPLATE_DEFINITION2, context.getOptions());
-    // Uncomment below lines to enable saving generated code file for debugging
-    // cg.getCodeGenerator().plainJavaCapable(true);
+    cg.getCodeGenerator().plainJavaCapable(true);
 
 Review comment:
   The rule is supposed to be that all operators that support "plain Java" 
declare that they can do so. This allows us, at some point, to flip a switch 
and use the Java compiler rather than Janino and byte code fixup. So, the 
"plainJavaCapable" is supposed to be uncommented. Only the 
"saveCodeForDebugging" should be commented. So, this was fixing an earlier 
error.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Batch of container count fixes
> ------------------------------
>
>                 Key: DRILL-7333
>                 URL: https://issues.apache.org/jira/browse/DRILL-7333
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.16.0
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>            Priority: Major
>             Fix For: 1.17.0
>
>
> See DRILL-7325. The set of operators to be fixed is large. This ticket covers 
> a subset of operators.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to