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.

        Activity

        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/f650bccd .
        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.7.0 (2016-03-22).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.7.0 (2016-03-22).

          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:

              Development