Skip to content

Avoid allocating unnecessary capacity for array column while writing orc & some minor refactors - #67879

Merged
yariks5s merged 4 commits into
ClickHouse:masterfrom
bigo-sg:opt_orc_writer
Aug 13, 2024
Merged

yariks5s merged 4 commits into
ClickHouse:masterfrom
bigo-sg:opt_orc_writer

Conversation

@taiyang-li

@taiyang-li taiyang-li commented Aug 6, 2024 •

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Avoid allocate too much capacity for array column while writing orc & some minor refactors to make code cleaner. Performance speeds up 15% for array column.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

CI Settings (Only check the boxes if you know what you are doing):

  • Allow: All Required Checks
  • Allow: Stateless tests
  • Allow: Stateful tests
  • Allow: Integration Tests
  • Allow: Performance tests
  • Allow: All Builds
  • Allow: batch 1, 2 for multi-batch jobs
  • Allow: batch 3, 4, 5, 6 for multi-batch jobs

  • Exclude: Style check
  • Exclude: Fast test
  • Exclude: All with ASAN
  • Exclude: All with TSAN, MSAN, UBSAN, Coverage
  • Exclude: All with aarch64, release, debug

  • Do not test
  • Woolen Wolfdog
  • Upload binaries for special builds
  • Disable merge-commit
  • Disable CI cache

@taiyang-li taiyang-li changed the title Small refactors in ORC output format Small refactors in ORC output format, make code cleaner Aug 6, 2024
@taiyang-li
taiyang-li marked this pull request as draft August 6, 2024 05:24
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-improvement Pull request with some product improvements label Aug 6, 2024
@robot-clickhouse-ci-2

robot-clickhouse-ci-2 commented Aug 6, 2024 •

Copy link
Copy Markdown
Contributor

This is an automated comment for commit 1e9e19b with description of existing statuses. It's updated for the latest CI running

✅ Click here to open a full report in a separate page

Successful checks
Check nameDescriptionStatus
BuildsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Docs checkBuilds and tests the documentation✅ success
Fast testNormally this is the first check that is ran for a PR. It builds ClickHouse and runs most of stateless functional tests, omitting some. If it fails, further checks are not started until it is fixed. Look at the report to see which tests fail, then reproduce the failure locally as described here✅ success
Flaky testsChecks if new added or modified tests are flaky by running them repeatedly, in parallel, with more randomization. Functional tests are run 100 times with address sanitizer, and additional randomization of thread scheduling. Integration tests are run up to 10 times. If at least once a new test has failed, or was too long, this check will be red. We don't allow flaky tests, read the doc✅ success
Integration testsThe integration tests report. In parenthesis the package type is given, and in square brackets are the optional part/total tests✅ success
Performance ComparisonMeasure changes in query performance. The performance test report is described in detail here. In square brackets are the optional part/total tests✅ success
Stateful testsRuns stateful functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Stateless testsRuns stateless functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Style checkRuns a set of checks to keep the code style clean. If some of tests failed, see the related log from the report✅ success
Unit testsRuns the unit tests for different release types✅ success

@yariks5s yariks5s self-assigned this Aug 6, 2024
@taiyang-li
taiyang-li marked this pull request as ready for review August 9, 2024 07:58
@taiyang-li taiyang-li changed the title Small refactors in ORC output format, make code cleaner Avoid allocate too much capacity for array column while writing orc & some minor refactors Aug 9, 2024
@taiyang-li taiyang-li changed the title Avoid allocate too much capacity for array column while writing orc & some minor refactors Avoid allocate unnecessary capacity for array column while writing orc & some minor refactors Aug 9, 2024
@taiyang-li taiyang-li changed the title Avoid allocate unnecessary capacity for array column while writing orc & some minor refactors Avoid allocating unnecessary capacity for array column while writing orc & some minor refactors Aug 9, 2024
@taiyang-li

Copy link
Copy Markdown
Contributor Author

failed internal tests without details
image

@yariks5s could you please help review, thanks!

@yariks5s
yariks5s added this pull request to the merge queue Aug 13, 2024
Merged via the queue into ClickHouse:master with commit 39c2566 Aug 13, 2024
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 13, 2024
baibaichen added a commit to Kyligence/gluten that referenced this pull request Aug 14, 2024
- Rebase failed with ClickHouse/ClickHouse#67879, and hence we can remove Kyligence/ClickHouse#454
baibaichen added a commit to Kyligence/gluten that referenced this pull request Aug 15, 2024
- Rebase failed with ClickHouse/ClickHouse#67879, and hence we can remove Kyligence/ClickHouse#454

(cherry picked from commit 583aa8d6566a9e1c0924c1a3ab1d315fcc229fa6)
baibaichen added a commit to apache/gluten that referenced this pull request Aug 15, 2024
* [GLUTEN-1632][CH]Daily Update Clickhouse Version (20240815)

* Fix Build due to ClickHouse/ClickHouse#68107

* Fix Build due to ClickHouse/ClickHouse#68135

* Fix UT due to ClickHouse/ClickHouse#68135

* Add ut for #2584

- Rebase failed with ClickHouse/ClickHouse#67879, and hence we can remove Kyligence/ClickHouse#454

(cherry picked from commit 583aa8d6566a9e1c0924c1a3ab1d315fcc229fa6)

* Fix CH BUG due to ClickHouse/ClickHouse#68135

see Kyligence/ClickHouse@d87dbba

* Resolve conflict

---------

Co-authored-by: kyligence-git <[email protected]>
Co-authored-by: Chang Chen <[email protected]>
sharkdtu pushed a commit to sharkdtu/gluten that referenced this pull request Nov 11, 2024
)

* [GLUTEN-1632][CH]Daily Update Clickhouse Version (20240815)

* Fix Build due to ClickHouse/ClickHouse#68107

* Fix Build due to ClickHouse/ClickHouse#68135

* Fix UT due to ClickHouse/ClickHouse#68135

* Add ut for apache#2584

- Rebase failed with ClickHouse/ClickHouse#67879, and hence we can remove Kyligence/ClickHouse#454

(cherry picked from commit 583aa8d6566a9e1c0924c1a3ab1d315fcc229fa6)

* Fix CH BUG due to ClickHouse/ClickHouse#68135

see Kyligence/ClickHouse@d87dbba

* Resolve conflict

---------

Co-authored-by: kyligence-git <[email protected]>
Co-authored-by: Chang Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants