opt: detect contradictions with inequalities against "boundary" values #80402
Labels
C-performance
Perf of queries or internals. Solution not expected to change functional behavior.
E-quick-win
Likely to be a quick win for someone experienced.
T-sql-queries
SQL Queries Team
Projects
Currently, the optimizer is not smart enough to understand that
e > 9223372036854775807
filter is a contradiction (wheree
isINT8
and the number ifMaxInt64
). We should improve here.Jira issue: CRDB-15624
The text was updated successfully, but these errors were encountered: