Apache Flink 2.3.1 Release Announcement

December 5, 2026 - Rui Fan

The Apache Flink Community is pleased to announce the first bug fix release of the Flink 2.3 series.

This release fixes 106 issues in Flink 2.3, including redaction of sensitive configuration values in SQL Gateway responses (FLINK-40539), a fix for unrestorable checkpoints after a CLAIM-mode restore from a native savepoint (FLINK-39964), correct outer join results when an input record is updated without UPDATE_BEFORE (FLINK-40809), watermark fixes for inputs that become active again after idleness (FLINK-40475), and correct CAST results for timestamps before 1970 (FLINK-41280). The list below excludes test-only, CI and build, documentation-only, and release-tooling changes; for a complete list of all changes see JIRA.

We highly recommend all users upgrade to Flink 2.3.1.

Release Artifacts #

Maven Dependencies #

<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-java</artifactId>
  <version>2.3.1</version>
</dependency>
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-streaming-java</artifactId>
  <version>2.3.1</version>
</dependency>
<dependency>
  <groupId>org.apache.flink</groupId>
  <artifactId>flink-clients</artifactId>
  <version>2.3.1</version>
</dependency>

Binaries #

You can find the binaries on the updated Downloads page.

Docker Images #

PyPi #

Release Notes #

Bug #

  • FLINK-23758 - PyFlink expression inversion (~) has wrong semantics for NULL values
  • FLINK-25802 - OVER window queries fail in batch mode
  • FLINK-30499 - Batch OVER window operators fail to compile because of wrong generated comparator code
  • FLINK-32040 - PyFlink watermark strategies lose their timestamp assigner after with_idleness() or with_watermark_alignment(), so records carry no timestamps
  • FLINK-33404 - A PyFlink job whose plain CoProcessFunction registers a timer fails when the timer fires, because the function has no on_timer()
  • FLINK-34625 - State TTL does not take effect in PyFlink
  • FLINK-34923 - PyFlink Table.to_pandas() fails on results that contain nested rows, such as an ARRAY of ROW
  • FLINK-34985 - PyFlink thread mode does not support accessing Row fields by name in map functions
  • FLINK-36146 - Sources can fail with a NoSuchElementException from SingleThreadFetcherManager
  • FLINK-37663 - A thread synchronization issue in source split fetching can make sources unresponsive
  • FLINK-38500 - PyFlink jobs using the thread mode cannot run consecutively on a session cluster on macOS
  • FLINK-39061 - The StateMachine example cannot take canonical savepoints because it uses the State V2 API
  • FLINK-39384 - PyFlink cannot execute compiled plans loaded with load_plan()
  • FLINK-39481 - A watermark deferred by interruptible timers is lost at end of input, dropping window results
  • FLINK-39532 - PyFlink async scalar functions have a race condition when using the Cython coder
  • FLINK-39572 - PyFlink logs sensitive environment information when its Beam runner is closed
  • FLINK-39624 - Async TTL ListState throws a NullPointerException when the state is empty
  • FLINK-39679 - Implicit type conversions of function arguments fail in generated code
  • FLINK-39951 - PyFlink truncates the values of Python long arrays (typecode l) to int when passing them to Java
  • FLINK-39964 - Checkpoints taken after a CLAIM-mode restore from a native savepoint can be unrestorable
  • FLINK-39966 - The planner wrongly treats a Top-1 rank on a non-time-attribute column as insert-only
  • FLINK-39984 - Thread dump requests can cause heartbeat timeouts and unnecessary JobManager/TaskManager failover
  • FLINK-40003 - Listeners notified when a task finishes or fails now see its final IO metrics and accumulators instead of stale values
  • FLINK-40016 - Rescaling from an unaligned checkpoint can fail with ‘Corrupt stream’ because recovered buffers are persisted twice
  • FLINK-40062 - Compiled plans containing the WELFORD aggregate function cannot be loaded
  • FLINK-40082 - Lookup joins fail with an InvalidProgramException when the lookup table computes its watermark from a metadata column
  • FLINK-40093 - A race between watermark alignment and idleness detection can keep a split idle forever
  • FLINK-40118 - The web UI’s SubTask timeline shows “N - undefined” instead of the task endpoint
  • FLINK-40157 - With ForSt, reads chained on MapState#asyncPutAll see the new keys with null values
  • FLINK-40227 - Restoring state that contains VARIANT values can corrupt them
  • FLINK-40236 - PyFlink infers ARRAY for a list whose first element is None
  • FLINK-40269 - Unaligned checkpoint restore may fail after rescale when a two-input task reads from the same upstream
  • FLINK-40322 - PyFlink ArrayType and MultisetType fail to convert from SQL types
  • FLINK-40324 - Insert-only input into a sink with a primary key gets an unnecessary upsert materializer and keyed shuffle without an ON CONFLICT clause
  • FLINK-40326 - Rate-limited sources (GatedRateLimiter) admit more events per cycle than configured
  • FLINK-40327 - ForSt async multiGet leaks native memory with every read batch
  • FLINK-40334 - Insert-only input is materialized unnecessarily under upsert-materialize FORCE
  • FLINK-40335 - Hybrid shuffle index files can be corrupted by a ByteBuffer shared across result partitions
  • FLINK-40346 - Triton inference silently replaces JSON nulls in arrays with 0, false, or “null”
  • FLINK-40350 - LPAD and RPAD split supplementary characters, such as emoji, into invalid strings
  • FLINK-40368 - Deduplication ordered by a column that is not a time attribute is wrongly treated as insert-only
  • FLINK-40370 - PyFlink corrupts bytes-backed Avro decimal values when serializing GenericRecordAvroTypeInfo records
  • FLINK-40391 - PTF table arguments with a non-default conversion class can fail
  • FLINK-40475 - When all inputs of a multi-input task are idle, Flink now emits the maximum watermark across all inputs regardless of the order in which they became idle, and emits watermarks of inputs resuming from idleness promptly instead of stalling
  • FLINK-40499 - An idle source that finishes, at the end of a bounded input or on stop-with-savepoint –drain, now emits its final watermark, so downstream event-time windows and timers fire
  • FLINK-40504 - An idle source now becomes active again on any activity, such as a new record or a newly registered split, instead of only when its watermark advances, so its records are no longer dropped as late
  • FLINK-40529 - The PyFlink @Deprecated decorator warns at import time instead of on use
  • FLINK-40539 - The SQL Gateway shows sensitive configuration values in SET; and session configuration responses
  • FLINK-40549 - Split-level source metrics leak metric groups after splits finish
  • FLINK-40592 - The Prometheus PushGateway reporter now initializes with basic authentication without requiring JAXB on the classpath
  • FLINK-40628 - PyFlink TTL initialization can hang task threads and leave jobs stuck in INITIALIZING
  • FLINK-40644 - The ForSt file cache leaks S3A connections until the connection pool is exhausted
  • FLINK-40657 - Source readers retain memory for every split fetcher ever created
  • FLINK-40694 - INSERT INTO with a target column list or static partitions fails when its query reads from a process table function with a set-semantic table argument
  • FLINK-40705 - PyFlink pandas UDFs fail on MAP inputs across Arrow batches
  • FLINK-40727 - Internal SSL connections regressed on hostname verification, and security.ssl.protocol now accepts a comma-separated list of protocols
  • FLINK-40780 - The new option pipeline.forward-edge.parallelism-mismatch-mode can fail the job or keep the FORWARD edge instead of the default REBALANCE replacement, which corrupts changelog (upsert/retract) streams on a parallelism mismatch
  • FLINK-40799 - Planning fails with a ClassCastException when an upsert source is read twice with the same boolean column filter
  • FLINK-40809 - Outer joins lose the null-padded row when an input record is updated without UPDATE_BEFORE
  • FLINK-40831 - Mini-batch outer joins lose the null-padded row when an input record is updated without UPDATE_BEFORE
  • FLINK-40841 - Streaming outer joins with a non-equi condition produce wrong results on upsert input
  • FLINK-40842 - Streaming semi/anti joins over-count matches for right-side updates without UPDATE_BEFORE
  • FLINK-40858 - Streaming joins ignore non-equi conditions on key-only deletes
  • FLINK-40883 - OVER aggregations with ROWS UNBOUNDED PRECEDING ordered by a non-time column corrupt their accumulators
  • FLINK-40904 - The FORWARD-to-REBALANCE downgrade compares the wrong parallelism and can miss a mismatch
  • FLINK-40931 - ForSt restore from an object store fails when scaling in
  • FLINK-40959 - Batch sort can emit unsorted rows when its generated comparator is large enough to be split
  • FLINK-40969 - The rescale details REST endpoint returns 404 for rescale events still listed in the overview
  • FLINK-40986 - Equal named Rows can have different hash values in PyFlink
  • FLINK-40997 - A regular join can pick a different state key for the same SQL when its input has several equally short upsert keys
  • FLINK-41032 - PyFlink Table.to_pandas() loses column dtypes when the result is empty
  • FLINK-41066 - MultiJoin produces wrong results when an upsert input replaces a record without UPDATE_BEFORE
  • FLINK-41078 - A delayed resource requirements check or resource declaration in the slot manager that throws an exception no longer stops all later checks from being scheduled
  • FLINK-41090 - Operator coordinators of vertices that were never initialized are not closed
  • FLINK-41102 - PyFlink keyed state clear() is lost on key changes when python.state.cache-size is 0
  • FLINK-41103 - PyFlink ValueState.update(None) fails instead of clearing the state
  • FLINK-41104 - PyFlink MapState.contains() returns false for an existing key whose value is None
  • FLINK-41106 - PyFlink MapState.put_all() fails because it iterates dictionary keys instead of key-value pairs
  • FLINK-41108 - PyFlink returns stale TTL-enabled ListState values after session window merges
  • FLINK-41196 - PyFlink pandas conversions and Python UDFs shift TIMESTAMP_LTZ values in non-UTC session time zones
  • FLINK-41199 - PyFlink result collection fails for NULL values inside nested rows and collections
  • FLINK-41228 - PyFlink thread-mode DataStream converters mishandle rows in arrays, lists, and maps
  • FLINK-41244 - PTF clearAllTimers() deletes unnamed timers of all keys and corrupts the key context
  • FLINK-41247 - The queryable state server leaks its listening socket and connections on shutdown
  • FLINK-41253 - Python scalar UDFs produce incorrectly ordered columns when mixing sync and async calls
  • FLINK-41271 - PyFlink tasks stay RUNNING after a Beam data RPC failure instead of failing
  • FLINK-41280 - CAST of a TIMESTAMP before 1970 to DATE, TIME, or a lower TIMESTAMP precision now rounds down instead of toward 1970, which changes results for such values, also in restored compiled plans
  • FLINK-41282 - Multi-join upsert key inference reports keys that are not unique, so the sink may skip required upsert materialization
  • FLINK-41291 - Upgrade snappy-java to 1.1.10.12 for its security fixes
  • FLINK-41307 - PyFlink TableResult.collect() changes TIMESTAMP values that fall in a daylight saving time gap or are before 1902
  • FLINK-41388 - The flink-s3-fs-native file system does not ship the licenses of the third-party code bundled in Netty
  • FLINK-41467 - The apache-flink PyPI package is missing the NOTICE file
  • FLINK-41487 - The protobuf format fails to generate its serializer when the write-null-string-literal option contains a quote or a backslash
  • FLINK-41497 - The flink-python jar does not ship the licenses of the third-party code bundled in Netty or credit it in its NOTICE
  • FLINK-41538 - The binary distribution and bundled jars such as flink-dist, flink-python, the file system plugins, and the SQL JDBC driver do not ship all licenses and notices of the third-party code bundled in Netty, conscrypt, and native libraries such as RocksDB
  • FLINK-41539 - The flink-gs-fs-hadoop file system does not ship the licenses of the third-party code bundled in Netty
  • FLINK-41540 - The flink-s3-fs-presto file system does not ship the licenses of the third-party code bundled in Netty
  • FLINK-41541 - flink-dist does not ship all licenses of the third-party code bundled in Netty
  • FLINK-41542 - The SQL JDBC driver bundle does not ship the licenses of the third-party code bundled in Netty
  • FLINK-41543 - The NOTICE of flink-rpc-akka lists Netty components that the jar does not bundle
  • FLINK-41546 - The flink-gs-fs-hadoop file system does not ship BoringSSL’s license and conscrypt’s NOTICE
  • FLINK-41592 - Bundled native libraries, such as those of RocksDB, ForSt, lz4-java, snappy-java, and zstd-jni, ship without the licenses of the third-party code linked into them, and Scala is listed under the wrong license

Improvement #

  • FLINK-38943 - With taskmanager.network.adaptive-partitioner.enabled, watermarks and other elements broadcast to all output channels are no longer serialized once per channel
  • FLINK-40903 - TaskManager network disconnect errors now name the remote host
  • FLINK-41371 - Row-semantic PTFs on upsert inputs no longer add an unnecessary ChangelogNormalize and exchange
  • FLINK-41516 - Row-semantic PTFs on upsert sources with full deletes no longer keep an unnecessary ChangelogNormalize