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

TestConvertCountToDirectScan.ensureCorrectCountWithMissingStatistics() test fails randomly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.15.0
    • None

    Description

      TestConvertCountToDirectScan.ensureCorrectCountWithMissingStatistics() fails randomly with assertion error:

      Found unwanted pattern in plan: DynamicPojoRecordReader
      00-00    Screen
      00-01      Project(cnt_str=[$0], cnt_total=[$1])
      00-02        Scan(groupscan=[files = [/home/vitalii/IdeaProjects/drill-fork/exec/java-exec/target/org.apache.drill.exec.planner.logical.TestConvertCountToDirectScan/dfsTestTmp/1532655133770-0/wide_str_table/0_0_2.parquet, /home/vitalii/IdeaProjects/drill-fork/exec/java-exec/target/org.apache.drill.exec.planner.logical.TestConvertCountToDirectScan/dfsTestTmp/1532655133770-0/wide_str_table/0_0_1.parquet], numFiles = 2, DynamicPojoRecordReader{records = [[0, 2]]}])
      

      This test uses a table with two partitions and it may fail when a partition with set statistics is taken first in the ParquetGroupScanStatistics.collect() method, which is indirectly called from ConvertCountToDirectScan rule.

      Attachments

        Activity

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

          People

            volodymyr Vova Vysotskyi
            volodymyr Vova Vysotskyi
            Arina Ielchiieva Arina Ielchiieva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment