Kousuke Saruta created SPARK-3831:
-------------------------------------
Summary: Filter rule Improvement and bool expression optimization.
Key: SPARK-3831
URL: https://issues.apache.org/jira/browse/SPARK-3831
Project: Spark
Issue Type: Improvement
Reporter: Kousuke Saruta
If we write the filter which is always FALSE like
{code}
SELECT * from person WHERE FALSE;
{code}
200 tasks will run. I think, 1 task is enough.
And current optimizer cannot optimize the case NOT is duplicated like
{code}
SELECT * from person WHERE NOT ( NOT (age > 30));
{code}
The filter rule above should be simplify.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]