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

rand() returns different results in 1.4 vs 1.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: 1.5.1, 1.4.4
    • Component/s: ExeMgr
    • Labels:
      None
    • Sprint:
      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

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              David.Hall David Hall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: