You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "EricJoy2048 (via GitHub)" <gi...@apache.org> on 2023/06/01 03:34:34 UTC

[GitHub] [seatunnel] EricJoy2048 commented on a diff in pull request #4819: [Feature][SQL Transform]Add catalog support for SQL Transform plugin

EricJoy2048 commented on code in PR #4819:
URL: https://github.com/apache/seatunnel/pull/4819#discussion_r1212526938


##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e/src/test/resources/mysqlcdc_to_mysql.conf:
##########
@@ -37,11 +37,20 @@ source {
 }
 
 transform {
+  sql {
+    source_table_name = "customers_mysql_cdc"
+    query = """ select id, f_binary, f_blob, f_long_varbinary, f_longblob, f_tinyblob, f_varbinary, f_smallint, f_smallint_unsigned, f_mediumint,
+                f_mediumint_unsigned, f_int, f_int_unsigned, f_integer, f_integer_unsigned, f_bigint, f_bigint_unsigned, f_numeric, f_decimal,
+                f_float, f_double, f_double_precision, f_longtext, f_mediumtext, f_text, f_tinytext, f_varchar, f_date, f_datetime, f_timestamp,
+                f_bit1, f_bit64, f_char, f_enum, f_mediumblob, f_long_varchar, f_real, f_time, f_tinyint, f_tinyint_unsigned, f_json, f_year
+                from customers_mysql_cdc """
+    result_table_name = "trans_mysql_cdc"
+  }

Review Comment:
   I think SQL Transform cannot use filter conditions like where in the scenario of CDC synchronization



-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org