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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment