We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
scalar
What happened:
In Cortex, we have seen 2 bugs caused due to scalar function related to vertical sharding.
bug: scalar function with aggregation cause 500 cortexproject/cortex#5207 scalar(sum by (xx) (metric)) will be shardable but we cannot handle scalar type response. And the result itself is scalar type and we don't have a way to merge.
scalar(sum by (xx) (metric))
bug: vertical sharding doesn't work well with scalar function cortexproject/cortex#5205 Another issue but this time scalar is used to be the parameter.
What you expected to happen:
There is no bugs in vertical sharding caused by scalar. We should just disable scalar for vertical sharding to avoid any edge cases we might hit.
The text was updated successfully, but these errors were encountered:
@fpetkovski Would love to hear your opinion on this.
Sorry, something went wrong.
Makes sense to me. If there are known bugs caused by it, I let's go ahead and disable sharding or expressions that contain scalar 👍
Successfully merging a pull request may close this issue.
What happened:
In Cortex, we have seen 2 bugs caused due to
scalar
function related to vertical sharding.bug:
scalar
function with aggregation cause 500 cortexproject/cortex#5207scalar(sum by (xx) (metric))
will be shardable but we cannot handle scalar type response. And the result itself isscalar
type and we don't have a way to merge.bug: vertical sharding doesn't work well with
scalar
function cortexproject/cortex#5205 Another issue but this timescalar
is used to be the parameter.What you expected to happen:
There is no bugs in vertical sharding caused by
scalar
. We should just disablescalar
for vertical sharding to avoid any edge cases we might hit.The text was updated successfully, but these errors were encountered: