1996fanrui opened a new pull request, #30124:
URL: https://github.com/apache/flink/pull/30124

   ## What is the purpose of the change
   
   Backport of #29509 to release-2.2.
   
   ## Verifying this change
   
   - `./mvnw install -DskipTests -Dfast -Pskip-webui-build -pl 
flink-python,flink-dist -am` (JDK 17): `BUILD SUCCESS`, to provide the Flink 
distribution and test jars the PyFlink tests use.
   - `python -m pytest pyflink/common/tests/test_watermark_strategy.py 
"pyflink/datastream/tests/test_window.py::ProcessWindowTests::test_event_time_tumbling_window"
 
"pyflink/datastream/tests/test_window.py::EmbeddedWindowTests::test_event_time_tumbling_window"`
 in `flink-python` (Python 3.11, JDK 17): `10 passed`.
   - Same command with only `pyflink/common/watermark_strategy.py` reverted to 
release-2.2: `4 failed, 6 passed`. The failures are 
`test_with_idleness_preserves_timestamp_assigner`, 
`test_with_watermark_alignment_preserves_timestamp_assigner`, and both 
`test_event_time_tumbling_window` variants, the latter with `Record has Java 
Long.MIN_VALUE timestamp (= no timestamp marker)`, the error from the Jira.
   - `flake8==7.2.0 --config=tox.ini` on the three changed files: no findings.
   
   ## Difference from the original
   
   | Original commit | Conflict | Byte-identical | Changes |
   | --- | --- | --- | --- |
   | fd9c4bcd8a2 | No | Yes | None |
   
   ## Notes
   
   - The Jira's fix versions do not list a 2.2.x version yet (2.2.2 is 
unreleased). The bug is present on release-2.2: `with_idleness()` and 
`with_watermark_alignment()` there still return a new `WatermarkStrategy` 
without the Python timestamp assigner.
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes (please specify the tool below)
   
   Generated-by: Claude Code (Claude Opus 5.5)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to