Skip to content

Conversation

@eldenmoon
Copy link
Member

(#45480)

When update schema with high concurrency, updaing schemas cost is
expensive.
1. update schema only when rows is not 0
2. copy_from is expensive, use copy constructor
@Thearas
Copy link
Contributor

Thearas commented Dec 20, 2024

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@eldenmoon
Copy link
Member Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.46% (9569/26245)
Line Coverage: 27.91% (78637/281724)
Region Coverage: 26.58% (40363/151838)
Branch Coverage: 23.34% (20442/87588)
Coverage Report: http://coverage.selectdb-in.cc/coverage/85563b765c434800553fea442eef318fb5772d28_85563b765c434800553fea442eef318fb5772d28/report/index.html

@eldenmoon eldenmoon merged commit 39c69c7 into apache:branch-2.1 Dec 21, 2024
18 of 20 checks passed
@yiguolei yiguolei mentioned this pull request Jan 19, 2025
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

Successfully merging this pull request may close these issues.

3 participants