Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix case to map optimization #23629

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Fix case to map optimization #23629

merged 1 commit into from
Sep 20, 2024

Conversation

tdcmeehan
Copy link
Contributor

Description

In certain cases, this optimization will break when the case statement has been partially optimized and the CASE statement is just TRUE.

Motivation and Context

#23613

Impact

Bug fix

Test Plan

Tests have been added

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

== NO RELEASE NOTE ==

@tdcmeehan
Copy link
Contributor Author

@kaikalur can you please help review?

@tdcmeehan tdcmeehan merged commit 1a4339e into prestodb:master Sep 20, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants