Airblader commented on a change in pull request #16805:
URL: https://github.com/apache/flink/pull/16805#discussion_r699863553
##########
File path: docs/data/sql_functions.yml
##########
@@ -83,7 +83,7 @@ logical:
table: BOOLEAN1 && BOOLEAN2
description: Returns TRUE if BOOLEAN1 and BOOLEAN2 are both TRUE. Supports
three-valued logic. E.g., true && Null(BOOLEAN) returns UNKNOWN.
- sql: NOT boolean
- table: '!BOOLEAN'
+ table: BOOLEAN.not() or '!BOOLEAN' (Scala only)
Review comment:
I originally pointed this out as well (just deleted the comment
yesterday). The reason I thought this isn't necessary is because `and` and `or`
as prefix functions take arbitrarily many arguments (opposed to the postfix
ones which are unary). However, `not` is always unary, and a prefix version of
it thus doesn't seem as useful. Happy to add it if you still feel otherwise,
though.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]