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

OR simplification incorrectly loses term

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.26.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: