Skip to content

Introduce a new predicate simplification rule for evaluating constant COALESCE. #3417

@hatyo

Description

@hatyo

With the introduction of QueryPredicate simplification rule set in #3403, we can now introduce a new rule that can fold constant COALESCE such as:

COALESCE(NULL, 'false) -> 'false
COALESCE('true, 'false) -> 'true

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestplannerRelated to the query planner

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions