Github user ilooner commented on a diff in the pull request: https://github.com/apache/drill/pull/984#discussion_r144194940 --- 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 -- This is the name of the option which holds the true/false flag to enable saving code for debugging. The destination directory is governed by the ClassBuilder.CODE_DIR_OPTION property.
---