Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/984#discussion_r144131729
  
    --- 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 --
    
    When saving generated code, I have to point to the directory from Eclipse. 
This means two things:
    
    1. It works best if the same directory is used from one run to the next. 
(That is, no randomly generated temp directory.)
    2. The directory has to be visible to the Eclipse UI. (That is, no hidden 
directories starting with dots.)
    
    Can we make the directory in a known location, and can we use a nice simple 
name like "codegen"?


---

Reply via email to