TianYule-A opened a new pull request, #54911:
URL: https://github.com/apache/doris/pull/54911
### What problem does this PR solve?
Issue Number: open #38974
Related PR: None
Problem Summary:Added regr_avgx, regr_avgy, regr_count aggregate functions
and simple unit tests to BE.
### Release note
Adds support for three new aggregate functions (REGR_AVGX, REGR_AVGY, and
REGR_COUNT) to enable basic linear regression analysis. These functions allow
users to calculate the average of the independent variable (x), the average of
the dependent variable (y), and the number of non-null pairs (x, y).
### Check List (For Author)
- Test
- [ ] Regression test
- [√] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason
- Behavior changed:
- [√] No. This is only PART I, and the FE interface has not been added
yet.
- [ ] Yes.
- Does this need documentation?
- [ ] No.
- [ ] Yes.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]