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

Simplifying using predicates should consider not equals in case its a predicate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Right now simplifyUsingPredicates bails out for all <> comparisions; however if it's already an explicit predicate (or its negated one); then it could be demoted to:

      x IS NOT NULL or null
      

      which could be further simplified in most cases..

      Attachments

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: