Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.30.0
Description
The RelBuilder.project_ method forcefully unwraps SARG expressions. This way, we may lose SARG-related optimization opportunities and even get an infinite loop when some rules are applied heuristically. For example, the ProjectReduceExpressionsRule may simplify an expression to a SARG which would be unwrapped back to the original form in the RelBuilder, leading to an infinite execution of the rule.
The aim of this ticket is to remove the unconditional SARG unwrap from the RelBuilder.
Attachments
Issue Links
- links to