Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1046

Matchers for testing SQL query results

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Add matchers similar to those in org.hamcrest.CoreMatchers for the purposes of checking whether a ResultSet returns an expected collection of rows.

      Currently we use CalciteAssert.checkResultUnordered which does the right kind of thing, but returns a Function, not a Matcher, so is less easy to use from within junit.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: