sunjincheng121 commented on a change in pull request #8057: 
[FLINK-12028][table] Add `addColumns`,`renameColumns`, `dropColumns` …
URL: https://github.com/apache/flink/pull/8057#discussion_r270339774
 
 

 ##########
 File path: docs/dev/table/tableApi.md
 ##########
 @@ -188,7 +188,50 @@ Table result = orders.select("*");
 {% endhighlight %}
       </td>
     </tr>
-
+  <tr>
+          <td>
+            <strong>AddColumns</strong><br>
 
 Review comment:
   Thanks for reminding those case:
    When: replaceIfExist = false(default)
    1. It will throw an exception if the added fields already exist.
    2. It will throw an exception if adding columns with the same name
    3. It will throw an exception when you add aggregation as a new column
   When: replaceIfExist = true
    4.  It will throw an exception if replace the existing column but do not 
with the alias.
    5.  If the added fields have duplicate field name, then the last one is 
valid.
   

----------------------------------------------------------------
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