-
Notifications
You must be signed in to change notification settings - Fork 34
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
Value Metrics Count $groupBy no longer allows DB::Raw expression #6365
Comments
Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example) |
I don't have enough time to go through that setup, so we'll just work around it instead... But for context, if it matters. Passing a
Here:
|
The doc block parameter of |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
We have a couple of metrics whose
calculate
method looks like this:These used to work but at some point it seems the
formatAggregateResult
method has changed to explode the$groupBy
value assuming it's a string and then directly accessing the $groupBy column, so now we can't group by the calculated field.The text was updated successfully, but these errors were encountered: