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

TestBuilder can check if the number of result batches equals some expected value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • Tools, Build & Test
    • None

    Description

      TestWindowFrame unit tests are only meaningful if memory sort exposes batches of a specific size (20 rows) downstream. Otherwise, the tests will pass but they won't catch problems related to some specific edge cases when multiple batches are involved.

      The purpose of this JIRA is to extend TestBuilder so that unit tests that wish to do so, to fail if the number of result batches differs from some expected number.

      Attachments

        1. DRILL-3354.1.patch.txt
          17 kB
          Abdel Hakim Deneche
        2. DRILL-3354.2.patch.txt
          18 kB
          Jason Altekruse

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: