Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      bool_and/booland_statefunc(expression) -- true if all input values are true, otherwise false
      
      bool_or/boolor_statefunc(expression) -- true if at least one input value is true, otherwise false
      
      every(expression) -- equivalent to bool_and
      

      More details:
      https://www.postgresql.org/docs/9.3/functions-aggregate.html

       

      Presto and Vertica also support this feature:
      https://prestodb.github.io/docs/current/functions/aggregate.html
      https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/AggregateFunctions.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_____0

      Attachments

        Issue Links

          Activity

            People

              Qin Yao Kent Yao 2
              yumwang Yuming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: