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

rand() returns different results in 1.4 vs 1.2

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.4.2
    • 1.4.4, 1.5.1
    • ExeMgr
    • None
    • 2020-2, 2020-3, 2020-4, 2020-5, 2020-6

    Description

      See /home/calpont/mariadb-columnstore-regression-test/mysql/queries/working_tpch1/qa_fe_cnxFunctions/bug3506.sql

      The query:
      select rand(2) from region order by rand(1);

      Expected output:
      0.354211017819318
      0.8578261098431667
      0.64497318737672
      0.6555866465490187
      0.12234661925802624

      Actual output:
      0.9252509287793663
      0.6555866465490187
      0.354211017819318
      0.64497318737672
      0.3918687630369037

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              David.Hall David Hall (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.