-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[CALCITE-6374] LatticeSuggester throw NullPointerException when agg c… #3963
Conversation
/** Test case for | ||
* <a href="https://issues.apache.org/jira/browse/CALCITE-6374">[CALCITE-6374] | ||
* LatticeSuggester throw NullPointerException when agg call covered with cast </a>. */ | ||
@Test void testCastExpression() 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.
Maybe the name testCastExpression is not clear enough. Is there a clearer way to use it?
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.
Adjusted test method name.
aeaf015
to
494f81a
Compare
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.
LGTM
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.
looks good, please squash your commits
…all covered with cast
956b6f1
to
a72e774
Compare
@macroguo-ghy thank you for the review, I have squashed commits. |
Quality Gate passedIssues Measures |
…all covered with cast
https://issues.apache.org/jira/browse/CALCITE-6374
Ensure that the
name
field ofMutableMeasure
is not empty. Ifname
is empty, an alias will be automatically generated.