Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4329 13 Unit tests are failing with JDK 8
  3. DRILL-4331

TestFlattenPlanning.testFlattenPlanningAvoidUnnecessaryProject fail in Java 8

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • Tools, Build & Test
    • None

    Description

      This test expects the following Project in the query plan:

      Project(EXPR$0=[$1], rownum=[$0])
      

      In Java 8, for some reason the scan operator exposes the columns in reverse order which causes the project to be different than the one expected:

      Project(EXPR$0=[$0], rownum=[$1])
      

      The plan is still correct, so the test must be fixed

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            adeneche Abdel Hakim Deneche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment