-
Notifications
You must be signed in to change notification settings - Fork 985
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
Update Calcite and Add Test cases #152
Conversation
final String[] expectedPlan = {"Window.*partition \\{\\} order by \\[0\\].*COUNT\\(\\)", | ||
"Scan.*columns=\\[`o_custkey`, `o_orderpriority`\\]"}; | ||
final String[] excludedPatterns = {"Scan.*columns=\\[`\\*`\\]"}; | ||
test("alter session set `planner.slice_target` = 1"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line seems to be redundant, since line 430 set the same option, right?
+1 |
* being DrillPBError.ErrorType.VALIDATION the given message. | ||
* @param testSqlQuery Test query | ||
*/ | ||
protected static void validationErrorHelper(final String testSqlQuery) throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use thrownException.expect(new UserExceptionMatcher(VALIDATION, "..."));
in unit tests that use this method (rather than defining and using this method)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. cool. I have never known we could do that :)
e05b84c
to
99206a4
Compare
Addressed jinfengni and sudheeshkatkam 's comments, Thanks!!! |
Will report after done with the tests |
Fix is in CALCITE-841
Fix is in CALCITE-844
Fixes are in CALCITE-634, CALCITE-613, CALCITE-662
…ValidationException is thrown from Calcite
Fix is in CALCITE-820
No description provided.