alamb commented on issue #1693:
URL:
https://github.com/apache/arrow-datafusion/issues/1693#issuecomment-1025777506
Another simplification that can be done that @tustvold came up with is:
```
CASE
WHEN X THEN A
WHEN Y THEN B
...
ELSE Q
END
```
assuming the type of A and B are boolean, can be rewritten to
```
(X AND A) OR (Y AND B) OR ... Q
```
Which can then be subjected to the existing simplification AND / OR
simplification rules
--
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]