Skip to content

[FLINK-39547] Fix table-planner class loading order#28030

Open
piotrp wants to merge 3 commits intoapache:masterfrom
piotrp:invert-planner-loader
Open

[FLINK-39547] Fix table-planner class loading order#28030
piotrp wants to merge 3 commits intoapache:masterfrom
piotrp:invert-planner-loader

Conversation

@piotrp
Copy link
Copy Markdown
Contributor

@piotrp piotrp commented Apr 24, 2026

What is the purpose of the change

Fix table planner class loading order so that deserialization of AdaptiveJoinGenerator uses classes table-planner.jar first, falling back to user classes only for missing classes.

Verifying this change

This change added tests and can be verified as follows:

  • run JoinWithCustomTypeExampleTest test from the second commit - it will fail
  • run all tests using HEAD of this PR - all tests will pass

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

  • Dependencies: yes, a dependency in a test only subproject
  • The public API, i.e., is any changed class annotated with @Public(Evolving): no
  • The serializers: yes, limited to AdaptiveJoinGenerator
  • 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
  • If yes, how is the feature documented? not applicable

Was generative AI tooling used to co-author this PR?
  • No

@flinkbot
Copy link
Copy Markdown
Collaborator

flinkbot commented Apr 24, 2026

CI report:

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

@piotrp piotrp force-pushed the invert-planner-loader branch 2 times, most recently from 8807a19 to 3c45afa Compare April 25, 2026 18:16
@piotrp
Copy link
Copy Markdown
Contributor Author

piotrp commented Apr 25, 2026

@flinkbot run azure

@piotrp piotrp force-pushed the invert-planner-loader branch from 3c45afa to 368459d Compare April 25, 2026 21:01
@piotrp piotrp changed the title (demo for Jira issue) [FLINK-TODO] Test table-planner loading [FLINK-39547] Fix table-planner class loading order Apr 26, 2026
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.

2 participants