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

OR simplification incorrectly loses term

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment