sunjincheng121 commented on a change in pull request #8267: 
[FLINK-12311][table][python] Add base python framework and Add Scan, 
Projection, and Filter operator support
URL: https://github.com/apache/flink/pull/8267#discussion_r279585800
 
 

 ##########
 File path: docs/dev/table/tableApi.zh.md
 ##########
 @@ -297,6 +297,81 @@ val result = orders.where('b === "red")
     </tr>
   </tbody>
 </table>
+</div>
+<div data-lang="python" markdown="1">
+
+<table class="table table-bordered">
+  <thead>
+    <tr>
+      <th class="text-left" style="width: 20%">Operators</th>
+      <th class="text-center">Description</th>
+    </tr>
+  </thead>
+  <tbody>
+       <tr>
+               <td>
+        <strong>Scan</strong><br>
+        <span class="label label-primary">Batch</span> <span class="label 
label-primary">Streaming</span>
+      </td>
+               <td>
+        <p>Similar to the FROM clause in a SQL query. Performs a scan of a 
registered table.</p>
+{% highlight python %}
+orders = table_env.scan("Orders");
+{% endhighlight %}
+      </td>
+       </tr>
+    <tr>
+      <td>
+        <strong>Select</strong><br>
+        <span class="label label-primary">Batch</span> <span class="label 
label-primary">Streaming</span>
+      </td>
+      <td>
+        <p>Similar to a SQL SELECT statement. Performs a select operation.</p>
+{% highlight python %}
+orders = tableEnv.scan("Orders");
 
 Review comment:
   `tableEnv` -> `table_env`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to