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

Matchers for testing SQL query results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: