Timm0 commented on code in PR #30239:
URL: https://github.com/apache/flink/pull/30239#discussion_r4784463902


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/MaterializedTableEvolution.java:
##########
@@ -83,6 +86,59 @@ public interface MaterializedTableEvolution extends 
Explainable<MaterializedTabl
      */
     MaterializedTableEvolution resetOption(String key);
 
+    /**
+     * Adds the columns, watermark and primary key declared in {@code schema}. 
The columns of the
+     * resulting primary key become NOT NULL.
+     *
+     * @param schema The columns, watermark and primary key to add.
+     * @return This evolution.
+     * @throws ValidationException if {@code schema} declares nothing, 
declares a column more than
+     *     once, or declares indexes or immutable columns
+     */
+    MaterializedTableEvolution addSchema(Schema schema);

Review Comment:
   Added a "Deviation from FLIP" section and updated the FLIP. I also put both 
JavaDoc sentences back.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to