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

Some operators fail to process all records

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

Details

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

    Description

      The test below shows that the Filter operator cannot process more than more than 15625 records from the mock scanner. The issue may affect multiple operators and scanners.

      Steps to reproduce:

      1. Edit filter/test1.json and increase the record count to some number above 15625 (e.g. 20k).
      2. Update the assertion in TestSimpleFilter.testFilter().
      3. Run TestSimpleFilter.testFilter().

      Expected Results:

      The test would return 1/2 the record count.

      Results:

      FilterRecordBatch.doWork() gets a value of 15625 from incoming.getRecordCount(). Only one batch is processed, and never more than 15625 records. The same holds true when the mock reader generates multiple batches.

      Attachments

        Activity

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

          People

            jnadeau Jacques Nadeau
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment