Skip to content

[FLINK-37382][runtime] Early optimization for adaptive join when either input is below broadcast threshold.#26212

Merged
JunRuiLee merged 1 commit into
apache:masterfrom
SinBex:quick_broadcast_join_master
Feb 26, 2025
Merged

[FLINK-37382][runtime] Early optimization for adaptive join when either input is below broadcast threshold.#26212
JunRuiLee merged 1 commit into
apache:masterfrom
SinBex:quick_broadcast_join_master

Conversation

@SinBex

@SinBex SinBex commented Feb 26, 2025

Copy link
Copy Markdown
Contributor

What is the purpose of the change

When the large table side has not yet initialized, if the small table side finishes early and the output data volume is smaller than the broadcast threshold, the adaptive join operator can be optimized to a broadcast hash join in advance. This can help reduce network shuffle overhead.

Brief change log

  • The adaptive broadcast join optimization is triggered in advance when any input of the join node meets the broadcast condition.

Verifying this change

This change is already covered by existing tests, such as (please describe tests).

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
  • The serializers: (no )
  • The runtime per-record code paths (performance sensitive): ( no )
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: (no )

Documentation

  • Does this pull request introduce a new feature? (no)

@flinkbot

flinkbot commented Feb 26, 2025

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@JunRuiLee JunRuiLee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JunRuiLee JunRuiLee merged commit 69559fb into apache:master Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants