Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-36248][table] Introduce new Join Operator with Async State API #25320

Merged
merged 4 commits into from
Sep 24, 2024

Conversation

xuyangzhong
Copy link
Contributor

@xuyangzhong xuyangzhong commented Sep 12, 2024

What is the purpose of the change

Introduce new join operator with async state api.

Brief change log

  • Introduce new join operator with async state api
  • ITCases and harness tests are added to verity this pr

Verifying this change

ITCases and harness tests are added to verity this pr.

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? Yes
  • If yes, how is the feature documented? A independent doc pr about this feature will be added later.

@xuyangzhong
Copy link
Contributor Author

Note: some ITCases and harness tests are failed because there are some minor issues with the current ForStDB state backend. I'll try to rebase the latest master until all issues are fixed.

@flinkbot
Copy link
Collaborator

flinkbot commented Sep 12, 2024

CI report:

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

Copy link
Contributor

@xishuaidelin xishuaidelin left a comment

Choose a reason for hiding this comment

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

Hi, @xuyangzhong. Your PR looks pretty good. I've just left some minor comments about test.

@@ -99,6 +106,33 @@ class JoinITCase(miniBatch: MiniBatchMode, state: StateBackendMode)
// Tests for inner join.
override def after(): Unit = {}

@TestTemplate
def test(): Unit = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Coud it be renamed to more effectively reflect the purpose of the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, @xishuaidelin this is a piece of useless code that is used to debug, and I have deleted them in new commit.

@xishuaidelin
Copy link
Contributor

LGTM

Copy link
Contributor

@lincoln-lil lincoln-lil left a comment

Choose a reason for hiding this comment

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

@xuyangzhong Thank you for working on this! Looks pretty good for the incoming 2.0 preview version. Only one minor comment before merging.

@@ -239,6 +239,7 @@ object StreamingWithStateTestBase {
override def toString: String = backend.toString
}

// TODO test FORSTDB_BACKEND after 2.0-preview
Copy link
Contributor

Choose a reason for hiding this comment

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

We can create a jira to track this and avoid using the TODO annotation because there left too many staled TODOs

Copy link
Contributor

@lincoln-lil lincoln-lil Sep 24, 2024

Choose a reason for hiding this comment

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

I created FLINK-36354

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.

4 participants