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

Order by incorrect with float -0.000

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Do
    • 1.4.2
    • Icebox
    • ExeMgr
    • 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

            Unassigned Unassigned
            David.Hall David Hall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.