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

OR simplification incorrectly loses term

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.26.0
    • Component/s: None
    • Labels:
      None

      Description

      Simplification of OR expressions incorrectly loses a term. For example,

      (0 < a and a <= 10) or a is null or (8 < a and a < 12) or a >= 15

      is simplified to

      as is null or (0 < a and a <= 10) or (8 < a and a < 12)

      (Moving a is null to the front is expected, but removing a >= 15 is wrong.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                julianhyde Julian Hyde
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: