You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2020/06/30 06:56:27 UTC
[flink] branch release-1.10 updated: [hotfix][docs] Fix Python
example in the documentation about event_time
This is an automated email from the ASF dual-hosted git repository.
dianfu pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.10 by this push:
new 294d07a [hotfix][docs] Fix Python example in the documentation about event_time
294d07a is described below
commit 294d07a392203e95de034de67f057976a205e156
Author: Yubin Li <li...@163.com>
AuthorDate: Mon Jun 29 16:46:54 2020 +0800
[hotfix][docs] Fix Python example in the documentation about event_time
This closes #12789.
---
docs/dev/event_time.md | 4 ++--
docs/dev/event_time.zh.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/dev/event_time.md b/docs/dev/event_time.md
index 5790746..9121049 100644
--- a/docs/dev/event_time.md
+++ b/docs/dev/event_time.md
@@ -135,11 +135,11 @@ stream
{% highlight python %}
env = StreamExecutionEnvironment.get_execution_environment()
-env.set_stream_time_characteristic(TimeCharacteristic.ProcessingTime)
+env.set_stream_time_characteristic(TimeCharacteristic.EventTime)
# alternatively:
# env.set_stream_time_characteristic(TimeCharacteristic.IngestionTime)
-# env.set_stream_time_characteristic(TimeCharacteristic.EventTime)
+# env.set_stream_time_characteristic(TimeCharacteristic.ProcessingTime)
{% endhighlight %}
</div>
</div>
diff --git a/docs/dev/event_time.zh.md b/docs/dev/event_time.zh.md
index 5790746..9121049 100644
--- a/docs/dev/event_time.zh.md
+++ b/docs/dev/event_time.zh.md
@@ -135,11 +135,11 @@ stream
{% highlight python %}
env = StreamExecutionEnvironment.get_execution_environment()
-env.set_stream_time_characteristic(TimeCharacteristic.ProcessingTime)
+env.set_stream_time_characteristic(TimeCharacteristic.EventTime)
# alternatively:
# env.set_stream_time_characteristic(TimeCharacteristic.IngestionTime)
-# env.set_stream_time_characteristic(TimeCharacteristic.EventTime)
+# env.set_stream_time_characteristic(TimeCharacteristic.ProcessingTime)
{% endhighlight %}
</div>
</div>