yaooqinn commented on a change in pull request #26126: [SPARK-27880][SQL] Add
support for bool_and and bool_or aggregates
URL: https://github.com/apache/spark/pull/26126#discussion_r335295150
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
##########
@@ -316,6 +316,8 @@ object FunctionRegistry {
expression[EveryAgg]("every"),
expression[AnyAgg]("any"),
expression[SomeAgg]("some"),
+ expression[BoolAnd]("bool_and"),
Review comment:
I see. Then `any`, `some` and `bool_or` are mathematically equivalent, I
guess we can only left `AnyAgg ` and remove other implemtations
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]