Skip to content
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

How does map correlate to AggregateFunction #66

Open
vinay2897 opened this issue Jun 3, 2023 · 0 comments
Open

How does map correlate to AggregateFunction #66

vinay2897 opened this issue Jun 3, 2023 · 0 comments

Comments

@vinay2897
Copy link

This is a code snippet from uptrace here

type Measure struct {
        ....
	Histogram map[bfloat16.T]uint64 `ch:"type:AggregateFunction(quantilesBFloat16(0.5), Float32)"`
	...
}

quantilesBFloat16 accepts a Column with numeric data as input.

I am unable to understand how a map is being stored in quantilesBFloat16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant