Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.5.0
-
None
-
None
Description
When use scalar subquery, sometimes we can get result before physical plan execute.
Like `select (select (count(1)) is null from r where a = c ) from l where a < 4`.
The result alway be false. So we can skip unnecessary aggregate.