sunjincheng121 commented on a change in pull request #8916:
[FLINK-12897][python][docs] Improve the Python Table API docs by adding more
examples
URL: https://github.com/apache/flink/pull/8916#discussion_r298852934
##########
File path: docs/dev/table/common.md
##########
@@ -202,10 +259,23 @@ val tableEnv = StreamTableEnvironment.create(env)
// Table is the result of a simple projection query
val projTable: Table = tableEnv.scan("X").select(...)
-// register the Table projTable as table "projectedX"
+// register the Table projTable as table "projectedTable"
tableEnv.registerTable("projectedTable", projTable)
{% endhighlight %}
</div>
+
+<div data-lang="python" markdown="1">
+{% highlight python %}
+# get a TableEnvironment
+table_env = StreamTableEnvironment.create(env)
+
+# Table is the result of a simple projection query
Review comment:
`Table` -> `table`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services