You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select * from a, b where a1 > b1*b1 and 3 / a1 < 5;
Optimizer is allowed to filter with 3 / a1 < 5 before join on a1 > b1*b1.
This can lead to division by zero error not observed if semantic guarantee was provided.
Some expressions can be evaluated with short-circuit optimization.
Semantic guaranteed in SQL:
CASE WHEN
expression #6580COALESCE
expression #6203Implementation detail without semantic guarantee.
AND
expression #6380OR
expression #6260Optimizer is allowed to filter with
3 / a1 < 5
before join ona1 > b1*b1
.This can lead to division by zero error not observed if semantic guarantee was provided.
PostgreSQL:
The text was updated successfully, but these errors were encountered: