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:55:45 UTC

[flink] branch release-1.11 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.11
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.11 by this push:
     new 8134199  [hotfix][docs] Fix Python example in the documentation about event_time
8134199 is described below

commit 8134199c0f8f126d586ec29263afc383152ea7ab
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 5fcd7a9..3e25734 100644
--- a/docs/dev/event_time.md
+++ b/docs/dev/event_time.md
@@ -77,11 +77,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 dbe964f..50c8560 100644
--- a/docs/dev/event_time.zh.md
+++ b/docs/dev/event_time.zh.md
@@ -89,11 +89,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>