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

optimize ALL,SOME sub-query list when op is the <, <=,> or >=

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.27.0
    • None
    • core
    • None

    Description

      some example:

      sal > all (values 1, 2, 3, 4, 5, 6, 7, null) can be optimized to sal>all(values 7, null)
      sal > some(values 1, 2, 3, 4, 5, 6, 7, null) can be optimized to sal>some(values 1, null)

      Attachments

        Issue Links

          Activity

            People

              nobigo xiong duan
              nobigo xiong duan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: