[
https://issues.apache.org/jira/browse/DRILL-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201225#comment-16201225
]
ASF GitHub Bot commented on DRILL-5783:
---------------------------------------
Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/984#discussion_r144131909
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/compile/CodeCompiler.java ---
@@ -110,6 +109,11 @@ public CodeGenCompiler(final DrillConfig config, final
OptionSet optionManager)
public static final String DISABLE_CACHE_CONFIG = COMPILE_BASE +
".disable_cache";
/**
+ * Enables saving generated code for debugging
+ */
+ public static final String ENABLE_SAVE_CODE_FOR_DEBUG = COMPILE_BASE +
".codegen.dump";
--- End diff --
Also, how does a static string enable code generation? Isn't this just the
destination folder once saving code is enabled?
> Make code generation in the TopN operator more modular and test it
> ------------------------------------------------------------------
>
> Key: DRILL-5783
> URL: https://issues.apache.org/jira/browse/DRILL-5783
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: Timothy Farkas
> Assignee: Timothy Farkas
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)