lonelyGhostisdog commented on code in PR #1791:
URL: 
https://github.com/apache/incubator-seatunnel/pull/1791#discussion_r865515684


##########
seatunnel-connectors/seatunnel-connectors-flink/seatunnel-connector-flink-jdbc/src/main/java/org/apache/seatunnel/flink/jdbc/Config.java:
##########
@@ -91,4 +91,18 @@ public final class Config {
      */
     public static final String PARTITION_LOWER_BOUND = "partition_lower_bound";
 
+    /**
+     * Jdbc pre sql for sink
+     */
+    public static final String SINK_PRE_SQL = "pre_sql";
+
+    /**
+     * Jdbc post sql for sink
+     */
+    public static final String SINK_POST_SQL = "post_sql";
+
+    /**
+     * Jdbc ignore post sql exceptions for sink
+     */
+    public static final String SINK_IGNORE_POST_SQL_EXCEPTIONS = 
"ignore_post_sql_exceptions";

Review Comment:
   From a user's point of view, pre-SQL is generally not allowed to fail, and 
it helps us do some cleaning up before the data is actually written. Post-sql 
is used to do some post-notification operations, and its failure does not 
affect the writing of data



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