apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.6k stars 3.26k forks source link

[Enhancement](doris-future) Support "REGR_" aggregation functions (PART III) #38976

Open zclllyybb opened 2 months ago

zclllyybb commented 2 months ago

Search before asking

Description

We are going to support all regression functions in pg. You can see them in https://www.postgresql.org/docs/16/functions-aggregate.html with regr_ prefix. And considring the difficulty of this task, it will be nice for community as "good first issue".

In this issue, you should implement function regr_r2

If you'd like to work on it, please comment to let me know. I'll help you to achieve this.

Solution

you can found an example of implementation of a aggregate function here

Are you willing to submit PR?

Code of Conduct

JoverZhang commented 2 months ago

Can you please assign it to me? I want to work on it.

zclllyybb commented 2 months ago

Can you please assign it to me? I want to work on it.

yes~ feel free to communicate when you meet problem.

zclllyybb commented 2 months ago

@JoverZhang hello, any developments or problem recently?

JoverZhang commented 2 months ago

@JoverZhang hello, any developments or problem recently?

Thanks, development is in progress. I will submit a PR as soon as possible.

zclllyybb commented 2 months ago

ok. if you meet any problem, just let me know