Carl-Zhou-CN commented on code in PR #7355:
URL: https://github.com/apache/seatunnel/pull/7355#discussion_r1713122173


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/type/SeaTunnelRow.java:
##########
@@ -50,7 +50,16 @@ public void setTableId(String tableId) {
         this.tableId = tableId;
     }
 
+    /**
+     * The method will be removed in the future, please use {@link 
#setKind(RowKind)} instanced of
+     * it.
+     */
+    @Deprecated
     public void setRowKind(RowKind kind) {
+        setKind(kind);
+    }

Review Comment:
   I think this is a good approach if it achieves the same effect; modifying 
fields has less impact and avoids the issue of deprecated methods.



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