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

Having many WHENs causes ClassReader.accept()/EXPAND_FRAMES error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: Execution - Codegen
    • Labels:
      None

      Description

      Having many WHEN clauses in CASE expressions in a query yields a error message saying "Query failed: RemoteRpcException: Failure while running fragment., ClassReader.accept() should be called with EXPAND_FRAMES flag".

      (It's not just the number of WHEN clauses in each CASE expression that matters, but the total number. (Deleting some from either caused the query to work again, and then adding more WHENs in the other CASE expression caused the query to fail again.))

        Attachments

        1. Drill2503CaseManyWhensFailsTest.java
          4 kB
          Daniel Barclay
        2. DRILL-2503.2.patch.txt
          14 kB
          Chris Westin
        3. DRILL-2503.1.patch.txt
          13 kB
          Chris Westin

          Issue Links

            Activity

              People

              • Assignee:
                jnadeau Jacques Nadeau
                Reporter:
                dsbos Daniel Barclay
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: