chl-wxp commented on code in PR #5535:
URL: https://github.com/apache/seatunnel/pull/5535#discussion_r1361465079


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/DataSaveMode.java:
##########
@@ -21,20 +21,16 @@
  * The SaveMode for the Sink connectors that use table or other table 
structures to organize data
  */
 public enum DataSaveMode {
-    // Will drop table in MySQL, Will drop path for File Connector.
-    DROP_SCHEMA,
 
-    // Only drop the data in MySQL, Only drop the files in the path for File 
Connector.
+    // Preserve database structure and delete data
     KEEP_SCHEMA_DROP_DATA,

Review Comment:
   Has been resolved



##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/DataSaveMode.java:
##########
@@ -21,20 +21,16 @@
  * The SaveMode for the Sink connectors that use table or other table 
structures to organize data
  */
 public enum DataSaveMode {
-    // Will drop table in MySQL, Will drop path for File Connector.
-    DROP_SCHEMA,
 
-    // Only drop the data in MySQL, Only drop the files in the path for File 
Connector.
+    // Preserve database structure and delete data
     KEEP_SCHEMA_DROP_DATA,
 
-    // Keep the table and data and continue to write data to the existing 
table for MySQL. Keep the
-    // path and files in the path, create new files in the path.
+    // Preserve database structure, preserve data
     KEEP_SCHEMA_AND_DATA,

Review Comment:
   Has been resolved



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