-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Improved/fixed aggregate function error messages. #8977
Conversation
Kris Jenkins seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck 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.
Thank you for opening the PR! The change looks good.
Can you please prefix the commit message with fix:
and force-push? We generate release changelogs from commit messages, so all non-merge commits should be prefixed with the change category, such as feat:
, fix:
, chore:
, etc.
Ah, sure thing @Gerrrr. Done! 👍 |
Let's wait for the CI results and then merge. I am posting the link to the CI job here as the GH checks seem to be borked - https://jenkins.confluent.io/job/Confluent%20Public%20Repo%20PR%20builder/job/ksql/job/PR-8977/. |
Perfect. Thank you! |
CI failed with
building locally with Shout if you want a hand, etc. |
PR looks good to me and the CI is green. Please prefix the commit message with |
If you call the `sum` function with an unsupported argument type, it throws an error complaining about the `max` function. This is clearly a copy & paste error. I've fixed it and amended the code to make future copy & paste errors less likely. There's also some testing around this message. Fixes #8976.
Oops - I should have remembered that! Done. :-) |
Awesome! I'll merge the PR tomorrow in the morning. |
Description
If you call the
sum
function with an unsupported argument type, itthrows an error complaining about the
max
function. This is clearly acopy & paste error. I've fixed it, and amended the code to make future
copy & paste errors less likely.
Fixes #8976.
Testing done
This is just an error message improvement, so there are no additional tests.
Reviewer checklist