Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3809

RexSimplify simplifies nondeterministic function incorrectly

    XMLWordPrintableJSON

    Details

      Description

      For example, rand() = rand() will be simplified to IS NOT NULL(rand()), which is wrong because rand() = rand() might be false while IS NOT NULL(rand()) is always true.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Chunwei Lei Chunwei Lei
                Reporter:
                Chunwei Lei Chunwei Lei
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 20m
                  5h 20m