Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5116

Enable generated code debugging in each Drill operator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.0
    • 1.10.0
    • None

    Description

      DRILL-5052 adds the ability to debug generated code. Some of the code generated by Drill's operators has minor problems when compiled directly using the new technique. These issues are ignore by the byte-code-merge technique uses in production. This ticket asks to try the DRILL-5052 feature in each operator, clean up any minor problems, and ensure each operator generates code suitable for debugging. Use the new CodeGenerator.plainOldJavaCapable() method to mark each generated class as ready for "plain-old Java" code gen.

      The advantages of this feature are two:

      1. Ability to step through the generated code to increase understanding of existing operators and to ease development of improvements to existing operators and of any new operators we choose to create.
      2. Open the door to experimenting with how to improve performance of the generated code.

      Attachments

        Issue Links

          Activity

            People

              paul-rogers Paul Rogers
              paul-rogers Paul Rogers
              Boaz Ben-Zvi Boaz Ben-Zvi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: