sql: fix makeRangeFilter code to actually be used and normalize non-canonical range span constraints #80627
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
Projects
See #79886 for background. We need to let findJoinFilterRange find non-canonical range spans and let makeRangeFilter massage them into canonical expressions. See #80525 for a possible real world example. Another example could be LIKE expressions that can be spanitized, ie foo LIKE "bar%" -> foo >= "bar" and foo < "bas". Care must be taken to correctly handle NULLs per usual.
Jira issue: CRDB-15573
The text was updated successfully, but these errors were encountered: