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

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: Tools, Build & Test
    • Labels:
      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.2.patch.txt
          18 kB
          Jason Altekruse
        2. DRILL-3354.1.patch.txt
          17 kB
          Deneche A. Hakim

          Activity

            People

            • Assignee:
              adeneche Deneche A. Hakim
              Reporter:
              adeneche Deneche A. Hakim
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: