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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8.0
    • None
    • Execution - Codegen
    • 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.1.patch.txt
          13 kB
          Chris Westin
        3. DRILL-2503.2.patch.txt
          14 kB
          Chris Westin

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: