Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5245

MIN function returns NULL if a numeric column of class has NULL values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.0
    • 2.1
    • sql
    • None

    Description

      1. Use class (DefaultTable) with the numeric field (e.g. Short col_Short_1)
      2. Put a few entries where one entry has the field is null
      3. Run query SELECT MIN(col_Short_1) FROM DefaultTable
      4. It returns NULL but for same case h2 returns non-null minimal value

      Attachments

        Activity

          People

            skalashnikov Sergey Kalashnikov
            skozlov Sergey Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: