Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1095 Add support for large number of columns in queries
  3. DRILL-1155

Add option to use JDK compiler and use it for runtime generated code over a certain threshold

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • Execution - Codegen
    • None

    Description

      This is related to DRILL-1095 however it would not completely resolve the issue since the Java class file format enforces a maximum limit of 64K on a code unit.

      However, it does provide some additional headroom as JDK compiler seems to generate slightly smaller bytecode compared to Janino and seems to be faster for source code sizes over a threshold (approximately 256K in my tests). For smaller source code Janino is order of magnitude faster than JDK compiler.

      Attachments

        Activity

          People

            adityakishore Aditya Kishore
            adityakishore Aditya Kishore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: