Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 2, 2026

Cherry-picked from #58462

doris have crc32c from rocksdb now, but it has poorly performance than
google/crc32c.

66663538 rows int
crc32c-rocksdb 684.879ms
crc32c-google 206.360ms

66663538 rows varchar
crc32c-rocksdb 1sec368ms
crc32c-google 391.290ms

This pull request adds support for the `crc32c` third-party dependency
to the build environment. The changes include updating the changelog,
adding build logic, and configuring the necessary variables to download
and build `crc32c`.

**Third-party dependency integration:**

* Added `crc32c-1.1.2` to the list of third-party dependencies in the
changelog (`thirdparty/CHANGELOG.md`).
* Added `crc32c` to the default package build list in
`build-thirdparty.sh` to ensure it is built by default.
* Implemented the `build_crc32c()` function in `build-thirdparty.sh` to
handle the build and installation process for `crc32c`.

**Build configuration updates:**

* Defined download URL, archive name, source directory, and MD5 checksum
for `crc32c` in `vars.sh`.
* Added `CRC32C` to the `TP_ARCHIVES` array in `vars.sh` so it is
included in the set of managed third-party archives.
@github-actions github-actions bot requested a review from yiguolei as a code owner January 2, 2026 03:23
@Thearas
Copy link
Contributor

Thearas commented Jan 2, 2026

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?

@dataroaring dataroaring closed this Jan 2, 2026
@dataroaring dataroaring reopened this Jan 2, 2026
@Thearas
Copy link
Contributor

Thearas commented Jan 2, 2026

run buildall

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 53.32% (18687/35045)
Line Coverage 39.14% (173151/442415)
Region Coverage 33.82% (133811/395693)
Branch Coverage 34.80% (57867/166286)

@yiguolei yiguolei merged commit c5214aa into branch-4.0 Jan 4, 2026
27 of 35 checks passed
@github-actions github-actions bot deleted the auto-pick-58462-branch-4.0 branch January 4, 2026 10:54
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.

6 participants