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

Add MinRowCount metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • None
    • None

    Description

      Add MinRowCount metadata, that describes that a RelNode will never return fewer than N rows.

      The GROUP BY () operation has a peculiar effect if its input is empty: it increases the number of rows to 1. So, it is useful to know that a RelNode can never be empty, and a MinRowCount of 1 or higher communicates that.

      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: