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

Prevent optimization of non-deterministic functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core
    • None

    Description

      RexSimplify and RexProgram optimize expressions like A() = A() to true, but if A() is a non-deterministic expression, this optimization is invalid. Change RexSimplify and RexProgram to check if expression is deterministic or not, in order to decide about the optimization.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              siddteotia Siddharth Teotia
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: