-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
A-sql-optimizerSQL logical planning and optimizations.SQL logical planning and optimizations.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries TeamSQL Queries Teamgood first issuetarget-release-26.1.0
Description
Given a constant value compared using the ANY or SOME operators, we should be able to check for constants in the right hand side that can be used to simplify the comparison to True. For example, the expression: 0.1 < ANY (c0, 0.4) could be simplified since 0.1 < 0.4.
Jira issue: CRDB-42979
Metadata
Metadata
Labels
A-sql-optimizerSQL logical planning and optimizations.SQL logical planning and optimizations.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries TeamSQL Queries Teamgood first issuetarget-release-26.1.0
Type
Projects
Status
Done