Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3774

Order by incorrect with float -0.000

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: ExeMgr
    • Labels:
      None

      Description

      Consider the following:
      select f, count from (select CCHAR9, round(regr_syy(CDECIMAL9_2, length(CCHAR9)), 8) f from datatypetestm1 group by 1) a group by f order by f desc;

      in this case, f is 0.00000 on one row and -0.00000 on another. One would expect the -0.000000 to sort last, but that is not the case, at least sometimes.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            David.Hall David Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: