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

RexCall#isAlwaysTrue return incorrect result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.17.0
    • 1.18.0
    • core
    • None

    Description

      In the expression as followed:

      ((sal IS NULL) IS NOT NULL) IS FALSE
      

      The RexCall#isAlwaysTrue return true,however the correct answer is false.

      I find the reason is that there is a wrong logic in the  isAlwaysTrue,when getKind() is IS_NOT_FALSE、IS_FALSE and IS_NOT_FALSE :

      Can you have a check for me,thanks!

      Attachments

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              pzw2018 pengzhiwei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: