Closed satanson closed 9 months ago
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!
Enhancement
For queries as follows:
If the build side outputs all null column which used by predicates of the cross join and inner join and the predicates applying ot null partially can yields a false or null result, the join operator can short-circuit the probe side. In examples as above. " select max(b) from s" yields null, "t.b > null" yields null although the value of t.b is unknown.
The result of Expr's partial_apply_null method can categorized into 3 cases:
Some correctness and performance test should be conducted on this optimization.