srielau commented on PR #46757:
URL: https://github.com/apache/spark/pull/46757#issuecomment-2135182148
> Hi, @srielau do you know why '!' does not stay in or close to other
monadic operators like other systems? Now we seem to have something like `!a +
b <=> !(a + b)`
>
> also cc @cloud-fan @dongjoon-hyun, thanks
I do not. This looks right
`booleanExpression
: (NOT | BANG) booleanExpression
#logicalNot
| EXISTS LEFT_PAREN query RIGHT_PAREN #exists
| valueExpression predicate?
#predicated
| left=booleanExpression operator=AND right=booleanExpression
#logicalBinary
| left=booleanExpression operator=OR right=booleanExpression
#logicalBinary
;
`
Are you sure that is the case? + is an arithmetic operator. Have you gone
through the combinations or looked at the unresolved expression?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]