-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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-14068][streaming] Removes deprecated org.apache.flink.streaming.api.windowing.time.Time #25261
Conversation
Converting this one to draft. Things to do: |
1db521e
to
da835de
Compare
...-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/AllWindowedStream.scala
Outdated
Show resolved
Hide resolved
86f1e06
to
1ed4049
Compare
@@ -172,10 +172,10 @@ restart-strategy.exponential-delay.attempts-before-reset-backoff: 10 | |||
```java | |||
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(); | |||
env.setRestartStrategy(RestartStrategies.exponentialDelayRestart( | |||
Time.milliseconds(1), | |||
Time.milliseconds(1000), | |||
Duration.ofMillis(1), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is wrong; this here uses the common Time class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wasn't addressed yet?
...t/java/org/apache/flink/streaming/runtime/operators/windowing/TimeWindowTranslationTest.java
Outdated
Show resolved
Hide resolved
...cala/org/apache/flink/table/planner/runtime/stream/sql/TemporalTableFunctionJoinITCase.scala
Outdated
Show resolved
Hide resolved
...k-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/CoGroupedStreams.scala
Outdated
Show resolved
Hide resolved
...ng-scala/src/test/scala/org/apache/flink/streaming/api/scala/TimeWindowTranslationTest.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks mostly fine, but had a few comments.
e2d793b
to
7711a3e
Compare
…che.flink.streaming.api.windowing.time.Time;
7711a3e
to
78698ef
Compare
Most of the Scala code is gone in |
Failure related to FLINK-36356. |
@flinkbot run azure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bit irritated that we still got scala examples in the docs, but it's not a problem for this PR I suppose.
Looks like there is a separate issue FLINK-36352 for that. |
@flinkbot run azure |
1 similar comment
@flinkbot run azure |
746bc09
to
78698ef
Compare
Something's odd with the cibot. But GHA had a successful CI run on this PR/commit: https://github.com/XComp/flink/actions/runs/11091729815 I will merge the PR. Thanks for the approval |
What is the purpose of the change
Removes deprecated
org.apache.flink.streaming.api.windowing.time.Time
Brief change log
The changes where done using the IDE refactoring and find&replace operations.
Verifying this change
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation