Skip to content

feat(flink): support Flink 2.3 - #20776

Open
NestDream wants to merge 10 commits into
apache:masterfrom
NestDream:flink-2.3-support
Open

NestDream wants to merge 10 commits into
apache:masterfrom
NestDream:flink-2.3-support

Conversation

@NestDream

@NestDream NestDream commented Nov 20, 2026 •

Copy link
Copy Markdown

Describe the issue this Pull Request addresses

Closes #20775.

Flink 2.3.0 has been on Maven Central since June 2026. Hudi has adapter modules and bundles for Flink 1.18 to 2.2, so users on Flink 2.3 have no bundle that is compiled and tested against their Flink version. This PR adds Flink 2.3 the way #19655 added Flink 2.2.

One thing needs a maintainer: the bundle validation base image for Flink 2.3.0 has to be published (end of Risk Level).

Summary and Changelog

  • Add the hudi-flink2.3.x module and a flink2.3 Maven profile based on Flink 2.3.0. The module is a copy of hudi-flink2.2.x and only its pom.xml differs. The adapter code needed no change for Flink 2.3.0.
  • Use Avro 1.11.4, Parquet 1.15.2 and ORC 1.5.6 for the profile (what Flink 2.3.0 builds with) and Kafka Connector 5.1.0-2.3.
  • Make Flink 2.3 the default Flink build. The flink2.2 profile and the older ones stay.
  • HoodieTableSink#getChangelogMode keeps the row kinds of the requested mode and leaves out only UPDATE_BEFORE.
  • Update the README, the release guide, the release and build scripts and the CI configuration for the Flink 2.3 bundle, and add the bundle validation entry with the base image tag flink230hive313spark359.

The first commit is the plain module copy. Commits 4 and 5 are from the first version of this PR, which set an option in tests. Commit 7 reverts them, so the three cancel out. Commit 8 is temporary (end of Risk Level).

Impact

The default Hudi Flink build and bundle now target Flink 2.3.0. Users on Flink 2.2 keep building with -Dflink2.2. The storage format and the public APIs do not change.

One Flink 2.3 change affects Hudi users. Flink 2.3 adds the ON CONFLICT clause and the option table.exec.sink.require-on-conflict, true by default (FLIP-558, FLINK-38927). A streaming INSERT INTO an upsert sink with a primary key now fails at planning time when the upsert key of the query differs from the primary key and the statement has no ON CONFLICT clause. An append-only source has no upsert key and HoodieTableSink asked for an upsert stream for every input, so Flink 2.3 rejected a plain INSERT INTO hudi_table SELECT ... FROM append_only_source that runs on 2.2:

ValidationException: The query has an upsert key that differs from the primary key of the sink table
'default_catalog.default_database.t1'. Primary key: [uuid], upsert key: . [...]
Please specify an ON CONFLICT clause to define how conflicts should be handled

With the flink2.3 profile alone, 95 of the 434 Flink integration tests fail with this error (88 in ITTestHoodieDataSource, 7 in ITTestBucketStreamWrite and ITTestDynamicBucketStreamWrite), and so do the 4 tests of TestHoodieFlinkQuickstart.

As suggested in the review, HoodieTableSink now keeps the requested row kinds without UPDATE_BEFORE, as the Paimon and Fluss sinks do for tables with a primary key. The write path is untouched and only planning changes:

  • On Flink 2.3 a plain INSERT from an append-only source plans with default settings and without a SinkMaterializer.
  • The trade-off: on Flink 2.3 an ON CONFLICT clause on such a statement is rejected, because the sink is then not an upsert sink.
  • Inputs with updates keep their row kinds without UPDATE_BEFORE, and tables with changelog.enabled get the full mode as before. An input with updates still needs ON CONFLICT on Flink 2.3 when its upsert key differs from the primary key or is missing (for example a CDC source table declared without a primary key).
  • On Flink 1.18 to 2.2 the plan does not change.

This PR targets Flink 2.3.0. The 2.3.1 release candidate changes the BinaryExternalSorter constructor (FLINK-40959), which needs a separate fix in the 1.20, 2.2 and 2.3 adapters.

Risk Level

Medium, as for #19655: the default Flink dependency line changes and a version-specific module is added. The sink change is one method in HoodieTableSink. It has unit tests for the branches of the method and a planning test, and three of the four new tests fail without it.

What I ran on top of master f383424d889, on Java 17 unless noted. More checks, the cluster cases and the commands are in the collapsed blocks below.

Check Result
Build with -Dflink2.3: Flink modules, examples, bundle, hudi-kafka-connect and its bundle, with checkstyle and RAT BUILD SUCCESS
Unit tests of hudi-flink2.3.x, hudi-flink-client, hudi-flink and TestHoodieFlinkQuickstart 55, 246, 2219 and 4 run, 0 failed, 2 skipped
Integration tests, the two CI filters: IT* without ITTestHoodieDataSource, and ITTestHoodieDataSource 154 and 280 run, 0 failed, 1 skipped
With -Dflink2.2: the sink, planning and table factory tests, TestHoodieFlinkQuickstart, 20 integration tests of streaming writes 37, 4 and 20 run, 0 failed
With -Dflink1.20: the same 20 integration tests 20 run, 0 failed
Bundle validation (ci_run.sh) with the base image built by the new script, OpenJDK 11 and 17 passed

The counts in rows 2 and 3 are those of the CI run of the same master commit with flink2.2, plus the 4 new sink tests. No test sets table.exec.sink.require-on-conflict any more.

After merging master 7c1fb1b5c6e and moving to Kafka Connector 5.1.0-2.3, I re-ran the build, the unit tests (55, 247, 2227 and 4 run, 0 failed, 2 skipped), both integration test filters (154 and 280 run, 0 failed, 1 skipped) and the hudi-kafka-connect build and tests.

I also ran the bundle on a standalone Flink 2.3.0 cluster with default settings. A batch job read each table back, and row count, distinct keys, min, max and sum matched the expected values.

The validate-bundles job for flink2.3 needs the base image apachehudi/hudi-ci-bundle-validation-base:flink230hive313spark359, which is not on Docker Hub yet. I built it with packaging/bundle-validation/base/build_flink230hive313spark359.sh and pushed it to nestdream/hudi-ci-bundle-validation-base:flink230hive313spark359 (linux/amd64, digest sha256:d3a4584605165f03dc574be58422c90fc521cd2099a3a9b78c072ad45e10b0eb). The temporary commit (commit 8) pulls it from there by digest. Could someone with push rights publish it to apachehudi, as was done for #19655? I will then remove that commit and rerun, so that CI pulls the published tag.

Cluster cases

Flink 2.3.0, default settings, no table.exec.sink option.

Case Written Result
Plain INSERT from an append-only source into a COPY_ON_WRITE table with a primary key 20000 rows on 1000 keys 1000 rows, the latest value of every key, no SinkMaterializer in the job graph
The same into a MERGE_ON_READ table with async compaction 30000 rows on 1000 keys 1000 rows, the latest value of every key, 7 deltacommits, 3 compactions
Append-only input where the first row of a key has the highest ordering value 20000 rows on 1000 keys 1000 rows, the first row of every key
Input with updates whose upsert key equals the primary key (GROUP BY the key) 20000 rows on 1000 keys 1000 rows with the final sums and counts
Input with updates whose upsert key differs from the primary key rejected by Flink 2.3, which asks for ON CONFLICT (not changed by this PR)
The same with ON CONFLICT DO DEDUPLICATE 100 groups on 10 keys 10 rows
changelog.enabled, plain INSERT from an append-only source 20000 rows on 1000 keys 1000 rows, the latest value of every key
Changelog input with creates, updates and deletes (debezium-json) into COPY_ON_WRITE and MERGE_ON_READ tables, also with changelog.enabled 2800 creates, 1001 updates, 900 deletes 1900 rows, the 850 keys that stay deleted are gone
ON CONFLICT DO DEDUPLICATE, DO NOTHING or DO ERROR on an INSERT from an append-only source rejected by Flink: "ON CONFLICT clause is only allowed for upsert sinks"
bulk_insert in batch mode into a partitioned table 10000 rows 10000 rows, 2500 in each of the 4 partitions
Append with async clustering and a sort column 45000 rows 45000 rows, 4 replacecommits
Streaming read from one Hudi table into another 30000 rows 30000 rows in both tables
More checks
Check Result
Unit tests of hudi-kafka-connect 28 run, 0 failed
Java 11: bundle build, unit tests of hudi-flink2.3.x, the sink, planning and table factory tests BUILD SUCCESS, 55 and 37 run, 0 failed
Bundle build with flink1.18 to flink2.2 BUILD SUCCESS, all six
Commands
# build
mvn clean install -T 4 -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 -DskipTests=true \
  -pl hudi-examples/hudi-examples-flink,hudi-examples/hudi-examples-k8s,packaging/hudi-flink-bundle -am
mvn clean install -T 4 -Dscala-2.12 -Dspark3.5 -Dflink2.3 -DskipTests=true \
  -pl hudi-kafka-connect,packaging/hudi-kafka-connect-bundle -am

# unit tests
mvn test -Punit-tests -Pwarn-log -fae -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  -pl hudi-flink-datasource/hudi-flink2.3.x,hudi-client/hudi-flink-client,hudi-flink-datasource/hudi-flink \
  -Dhudi.surefire.forkCount=2
mvn test -Punit-tests -Pwarn-log -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  -pl hudi-examples/hudi-examples-flink -Dhudi.surefire.forkCount=1
mvn test -Punit-tests -Pwarn-log -Dscala-2.12 -Dspark3.5 -Dflink2.3 -pl hudi-kafka-connect

# integration tests
mvn verify -Pintegration-tests -Pwarn-log -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  '-Dit.test=IT*,!ITTestHoodieDataSource' -pl hudi-flink-datasource/hudi-flink
mvn verify -Pintegration-tests -Pwarn-log -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  -Dit.test=ITTestHoodieDataSource -pl hudi-flink-datasource/hudi-flink

# Java 11
mvn clean package -T 4 -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 -DskipTests=true \
  -pl hudi-examples/hudi-examples-flink,packaging/hudi-flink-bundle -am
mvn test -Punit-tests -Pwarn-log -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  -pl hudi-flink-datasource/hudi-flink2.3.x
mvn test -Punit-tests -Pwarn-log -Dscala-2.12 -Dflink2.3 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  -Dtest=TestHoodieTableSink,TestHoodieTablePlanning,TestHoodieTableFactory -pl hudi-flink-datasource/hudi-flink

# flink2.2, and the first command also with -Dflink1.20 -Dparquet.version=1.13.1
mvn verify -Pintegration-tests -Pwarn-log -Dscala-2.12 -Dflink2.2 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  '-Dit.test=ITTestBucketStreamWrite#testRemotePartitioner,ITTestDynamicBucketStreamWrite,ITTestHoodieDataSource#testStreamWriteAndRead*' \
  -Dfailsafe.failIfNoSpecifiedTests=false -pl hudi-flink-datasource/hudi-flink -am
mvn test -Punit-tests -Pwarn-log -Dscala-2.12 -Dflink2.2 -Davro.version=1.11.4 -Dparquet.version=1.15.2 \
  -Dtest=TestHoodieTableSink,TestHoodieTablePlanning,TestHoodieTableFactory,TestHoodieFlinkQuickstart \
  -Dsurefire.failIfNoSpecifiedTests=false -pl hudi-flink-datasource/hudi-flink,hudi-examples/hudi-examples-flink -am

# bundle validation, as the validate-bundles job runs it (FLINK_PROFILE=flink2.3, SPARK_PROFILE=spark3.5,
# SPARK_RUNTIME=spark3.5.9, SCALA_PROFILE=scala-2.12), also with openjdk17
(cd packaging/bundle-validation/base && ./build_flink230hive313spark359.sh)
./packaging/bundle-validation/ci_run.sh hudi_docker_java11 1.3.0-SNAPSHOT openjdk11

# other profiles: flink2.2 and flink2.1 with -Dparquet.version=1.15.2, flink2.0 with 1.14.4,
# flink1.20, flink1.19 and flink1.18 with 1.13.1
mvn clean package -T 4 -Dscala-2.12 -Dflink2.2 -Davro.version=1.11.4 -Dparquet.version=1.15.2 -DskipTests=true \
  -pl packaging/hudi-flink-bundle -am

Documentation Update

The README and the release guide are updated for Flink 2.3. The Flink pages of the website should mention that Flink 2.3 rejects an ON CONFLICT clause on an INSERT from an append-only source into a Hudi table. That is a separate change.

Contributor's checklist

  • Read through contributor's guide
  • Enough context is provided in the sections above
  • Adequate tests were added if applicable

Copy the 71 files of hudi-flink-datasource/hudi-flink2.2.x to
hudi-flink-datasource/hudi-flink2.3.x without changes. The only
difference to the source module is the artifactId in pom.xml.

The module is not part of any build profile yet. The next commits add
the flink2.3 profile and the changes Flink 2.3.0 needs.
Add flink2.3.version (2.3.0) and the flink2.3 profile, which builds
hudi-flink-datasource/hudi-flink2.3.x and the hudi-flink2.3-bundle.
Point the dependencies of hudi-flink2.3.x at flink2.3.version.

As for Flink 2.2, the newest Flink version becomes the default build:
flink.version, hudi.flink.module and flink.bundle.version now default
to Flink 2.3, and activeByDefault moves from flink2.2 to flink2.3.
The flink2.2 profile and the older ones stay available.

Dependency versions of the flink2.3 profile:
- Avro 1.11.4, as avro.version in flink-parent 2.3.0
- Parquet 1.15.2, as flink.format.parquet.version in flink-formats 2.3.0
- ORC 1.5.6, as orc.version in flink-parent 2.3.0
- flink-connector-kafka 5.0.0-2.2, the newest release on Maven Central;
  there is no release built for Flink 2.3 yet
Follow the default Flink version in the places that name it:
- bot.yml: the jobs that ran with flink2.2 now run with flink2.3
- azure-pipelines-20230430.yml and hudi-lakehouse/scripts/build-jars.sh
- README.md: default version, bundle table and build examples
- release/release_guide.md: the release build command, which has to
  match the activeByDefault profiles

Add the Flink 2.3 bundle to the release tooling:
- maven_artifact_validation.yml and release_candidate_validation.yml
- scripts/release/deploy_staging_jars.sh and validate_staged_bundles.sh
- packaging/bundle-validation/ci_run.sh, with the base image tag
  flink230hive313spark359 and the build script for it

The base image apachehudi/hudi-ci-bundle-validation-base with the tag
flink230hive313spark359 is not on Docker Hub yet. The validate-bundles
job for flink2.3 needs it.
…ts and the quickstart

Flink 2.3 adds the ON CONFLICT clause (FLINK-38927, FLINK-38928) and the
option table.exec.sink.require-on-conflict, which is true by default in
Flink 2.3. The planner then rejects a streaming INSERT into a table with a
primary key when the upsert key of the query differs from the primary key
and the statement has no ON CONFLICT clause:

  ValidationException: The query has an upsert key that differs from the
  primary key of the sink table 'default_catalog.default_database.t1'.
  Primary key: [uuid], upsert key: . ... Please specify an ON CONFLICT
  clause to define how conflicts should be handled

The Hudi sink is an upsert sink, so the plain "INSERT INTO t1 ..."
statements of the tests fail at planning time with the flink2.3 profile:
88 tests of ITTestHoodieDataSource, testRemotePartitioner of
ITTestBucketStreamWrite, six tests of ITTestDynamicBucketStreamWrite and
all four of TestHoodieFlinkQuickstart.

Set the option to false in the stream table environments that run these
statements: ITTestHoodieDataSource, ITTestDynamicBucketStreamWrite,
ITTestBucketStreamWrite and HoodieFlinkQuickstart. Flink versions before
2.3 do not have the option and ignore the key.
…dle validation SQL

packaging/bundle-validation/flink/insert.sql creates a table with a
primary key and fills it with INSERT INTO ... VALUES in streaming mode.
On Flink 2.3 the planner rejects that statement, for the reason given
in the previous commit (FLINK-38927, table.exec.sink.require-on-conflict).

Set the option to false in the script. The SQL client of earlier Flink
versions accepts the unknown key.
@github-actions github-actions Bot added the size:XL PR with lines of changes > 1000 label Nov 20, 2026
@codecov-commenter

codecov-commenter commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.91%. Comparing base (7c1fb1b) to head (e3ef1e6).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #20776      +/-   ##
============================================
- Coverage     80.92%   80.91%   -0.01%     
- Complexity    36217    36221       +4     
============================================
  Files          2591     2591              
  Lines        147957   147962       +5     
  Branches      18315    18317       +2     
============================================
- Hits         119728   119723       -5     
- Misses        19937    19950      +13     
+ Partials       8292     8289       -3     
Components Coverage Δ
hudi-common 84.18% <ø> (-0.02%) ⬇️
hudi-client 84.11% <ø> (-0.03%) ⬇️
hudi-flink 86.34% <100.00%> (+<0.01%) ⬆️
hudi-spark-datasource 74.49% <ø> (ø)
hudi-utilities 79.29% <ø> (ø)
hudi-cli 70.92% <ø> (ø)
hudi-hadoop 71.20% <ø> (ø)
hudi-sync 77.37% <ø> (ø)
hudi-io 81.66% <ø> (ø)
hudi-timeline-service 83.65% <ø> (+0.24%) ⬆️
hudi-cloud 81.01% <ø> (ø)
hudi-kafka-connect 58.40% <ø> (ø)
Flag Coverage Δ
common-and-other-modules 44.72% <100.00%> (-0.01%) ⬇️
flink-integration-tests 41.24% <100.00%> (+0.03%) ⬆️
hadoop-mr-java-client 43.95% <ø> (+<0.01%) ⬆️
integration-tests 14.69% <ø> (-0.01%) ⬇️
spark-client-hadoop-common 37.60% <ø> (+<0.01%) ⬆️
spark-java-tests 52.53% <ø> (-0.01%) ⬇️
spark-scala-tests 53.24% <ø> (+0.02%) ⬆️
utilities 42.52% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...in/java/org/apache/hudi/table/HoodieTableSink.java 89.06% <100.00%> (+0.92%) ⬆️

... and 23 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

execConf.setString("restart-strategy.fixed-delay.attempts", "0");
// Flink 2.3 rejects an INSERT whose upsert key differs from the primary key of the sink table
// unless it has an ON CONFLICT clause (FLINK-38927), restore the behavior of earlier versions.
execConf.setString("table.exec.sink.require-on-conflict", "false");

@cshuo cshuo Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

HoodieFlinkQuickstart.java:119 · HoodieTableSink.java:148–153

I’d prefer the default UPSERT branch to preserve the row kinds in requestedMode and filter out only UPDATE_BEFORE:

ChangelogMode.Builder builder = ChangelogMode.newBuilder();
for (RowKind kind : requestedMode.getContainedKinds()) {
  if (kind != RowKind.UPDATE_BEFORE) {
    builder.addContainedKind(kind);
  }
}
return builder.build();

With the current change, an insert-only streaming job that worked on 2.2 can fail at planning time on 2.3 when Flink cannot infer an upsert key for the keyed Hudi sink. Users must explicitly set table.exec.sink.require-on-conflict=false to keep the same SQL. Filtering the requested kinds keeps this input insert-only, so the job runs with default settings and avoids the extra SinkMaterializer on 2.3.0. Flink 2.4 also changed require-on-conflict to default to false to restore compatibility. Upstream change

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@cshuo Makes sense, done. getChangelogMode now uses your snippet, and I removed the require-on-conflict setting from the quickstart, the tests and insert.sql.

IMAGE_TAG=flink221hive313spark359
FLINK_VERSION=2.2.1
elif [[ ${FLINK_PROFILE} == 'flink2.3' ]]; then
IMAGE_TAG=flink230hive313spark359

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Since you’ve already built the image locally, I suggest pushing the flink230hive313spark359 tag to your own Docker Hub repository and temporarily pointing the bundle-validation job in your fork at that image. Once validation passes on a clean CI runner, a maintainer can publish the image to apachehudi/hudi-ci-bundle-validation-base. Before merging, switch the reference back to the official repository and rerun validation to confirm CI can pull the published tag.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@cshuo Done, I pushed it to nestdream/hudi-ci-bundle-validation-base:flink230hive313spark359 and pointed the flink2.3 validation at it for now, and validate-bundles passes in my fork: https://github.com/NestDream/hudi/actions/runs/44839263047/job/137389875404. I'll switch back once the image is on apachehudi.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@deepakpanda93, could you help build and push apachehudi/hudi-ci-bundle-validation-base:flink230hive313spark359 using packaging/bundle-validation/base/build_flink230hive313spark359.sh? The contributor’s image passed Flink 2.3 bundle validation on both JDK 11 and 17. Once the official image is available, we can switch CI to it and rerun validation. Thanks!

…logMode

HoodieTableSink.getChangelogMode returned the upsert mode for every
input unless changelog.enabled is set. Flink 2.3 rejects a streaming
INSERT into an upsert sink with a primary key when the upsert key of the
query differs from the primary key, unless the statement has an ON
CONFLICT clause or table.exec.sink.require-on-conflict is false
(FLINK-38927, FLINK-38928). A query over an insert-only source such as
VALUES or Kafka has no upsert key, so a plain INSERT INTO a Hudi table
with a primary key failed at planning time on Flink 2.3.0. With the
option set to false Flink 2.3.0 put a stateful SinkUpsertMaterializer in
front of the Hudi writer.

Return the row kinds of the requested mode without UPDATE_BEFORE, as
suggested in the review. An insert-only input stays insert-only, an
input with updates or deletes keeps its kinds, and changelog.enabled
still returns the full mode for every input.

Effect on the Flink planner:
- Flink 2.3: a plain INSERT from an insert-only input plans with default
  settings and no materializer. Flink allows ON CONFLICT for upsert
  sinks only, so it now rejects the clause on a statement whose input is
  insert-only.
- Flink 1.18 to 2.2: none. These planners add the materializer only for
  an input that is not insert-only, and for such an input the sink still
  takes the changes without UPDATE_BEFORE, as before.

The Paimon and Fluss sinks do the same for tables with a primary key,
and the Iceberg sink returns the requested mode as it is.

TestHoodieTableSink covers the branches of getChangelogMode.
TestHoodieTablePlanning plans a streaming INSERT for an insert-only
input and for an input with updates.
…kstart and the validation SQL

HoodieTableSink now reports insert-only for an insert-only input, so
Flink 2.3 plans a plain INSERT into a Hudi table with a primary key
without table.exec.sink.require-on-conflict=false.

Take the option out of ITTestHoodieDataSource,
ITTestDynamicBucketStreamWrite, ITTestBucketStreamWrite,
HoodieFlinkQuickstart and packaging/bundle-validation/flink/insert.sql
again. These five files are back to their state on master.
…until it is published (temporary)

The bundle validation for flink2.3 needs the base image
apachehudi/hudi-ci-bundle-validation-base:flink230hive313spark359,
which is not on Docker Hub yet.

Until a maintainer publishes it, ci_run.sh pulls the image built with
packaging/bundle-validation/base/build_flink230hive313spark359.sh from
nestdream/hudi-ci-bundle-validation-base by digest and tags it with the
official name, so that the validation runs in CI.

Drop this commit before merge.
Comment thread pom.xml Outdated
<hudi.flink.module>hudi-flink2.3.x</hudi.flink.module>
<flink.bundle.version>2.3</flink.bundle.version>
<!-- check kafka version -->
<flink.connector.kafka.version>5.0.0-2.2</flink.connector.kafka.version>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you update flink.connector.kafka.version from 5.0.0-2.2 to 5.1.0-2.3 in both the default configuration and the flink2.3 profile? The Kafka connector build for Flink 2.3 is now available on Maven Central.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@cshuo Done, flink.connector.kafka.version is now 5.1.0-2.3 in the default properties and in the flink2.3 profile. I also removed the check kafka version note from the profile.

The Kafka connector built for Flink 2.3 is on Maven Central now. The default
properties and the flink2.3 profile move to it, and the "check kafka version"
note in the flink2.3 profile is dropped. The flink2.2 profile stays on
5.0.0-2.2.
Conflict in .github/workflows/bot.yml: the integration-tests job keeps flinkProfile flink2.3 and takes the Spark 3.5.10 archive from master.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL PR with lines of changes > 1000

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Flink 2.3

3 participants