Skip to content

Fast path support for resizes - #76354

Merged
yariks5s merged 4 commits into
ClickHouse:masterfrom
yariks5s:fast-path-for-resize
Mar 3, 2025
Merged

yariks5s merged 4 commits into
ClickHouse:masterfrom
yariks5s:fast-path-for-resize

Conversation

@yariks5s

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

In the case of the 1-1 resize processing, a fast path is enabled, which allows data to go through resize without redundant operations.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh

clickhouse-gh Bot commented Feb 18, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [cea8660]

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Feb 18, 2025
@yariks5s
yariks5s marked this pull request as ready for review February 18, 2025 15:56
Comment thread src/Processors/ResizeProcessor.cpp Resolved
Comment thread src/QueryPipeline/Pipe.cpp Resolved
@CheSema

CheSema commented Feb 22, 2025 •

Copy link
Copy Markdown
Member

Other thought about this code was: we do not need force flag at all.
Resize n-n always make sense when strict=false. Because an input chunk could go to the any available output without any restriction.
When strict=true, resize n-n handles the order but still able to reroute chunks from input to other outputs in case some output is closed. Yaric have already described this above.
So we always know what to do without that force flag.

@yariks5s
yariks5s added this pull request to the merge queue Mar 3, 2025
Merged via the queue into ClickHouse:master with commit 28690d6 Mar 3, 2025
@yariks5s
yariks5s deleted the fast-path-for-resize branch March 3, 2025 10:57
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 3, 2025
@yariks5s yariks5s mentioned this pull request Mar 4, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog 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.

4 participants