Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt: add ContainedBy operator (<@) to FoldNullComparisonLeft norm rule
Fixes: #77745 When we originally made the ContainedBy operator (<@) distinct from the Contains operator (@>) we forgot to add ContainedBy to the FoldNullComparisonLeft normalization rule. It was only added to the FoldNullComparisonRight rule. Correct this. Release note (bug fix): fix an optimizer bug that prevented expressions of the form (NULL::STRING[] <@ ARRAY['x']) from being folded to NULL. Release justification: high priority bug fix.
- Loading branch information