Unit Test for Query Planner Regression#25067
Conversation
|
@jimsimon-wk Thanks for raising this. I believe this was found earlier and patched recently in #24981 Can you check if applying this patch fixes the issue? If this is a big blocker for you, we can consider a 292.1 patch release, however 293 is around the corner and this fix will be included in the next release. |
|
Thanks for the quick response @ZacBlanco - I should have first thought to test against |
|
No worries. One thing the fix PR is missing is a test which reproduced this issue, so I appreciate you coming up with this change. I'd be happy to merge this test case if you can fix the failing maven checks and release note action. Do you think you could come up with a slightly more descriptive method name for the test case too? I don't think we have a hard date for the release, but I believe it will be around the end of the month. |
|
Yep, I can brush this up and get it ready to merge! |
f22c17d to
3c11a1b
Compare
|
|
ZacBlanco
left a comment
There was a problem hiding this comment.
Just one minor thing. Looks good otherwise
presto-main-base/src/test/java/com/facebook/presto/sql/planner/TestLogicalPlanner.java
Outdated
Show resolved
Hide resolved
3c11a1b to
1250164
Compare
|
@jimsimon-wk Can you update the release note section in the PR description to just have |
hantangwangd
left a comment
There was a problem hiding this comment.
Thank you @jimsimon-wk for adding this test, lgtm.
Description
We noticed a regression in the query planner between versions 0.288 and 0.292 and this is a test to demonstrate that. The query passes the parser but throws an exception in the planner
Here's a truncated stacktrace
Motivation and Context
Impact
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.