dybyte commented on code in PR #10370:
URL: https://github.com/apache/seatunnel/pull/10370#discussion_r2708772338


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/options/table/CatalogOptions.java:
##########
@@ -59,11 +59,16 @@ public interface CatalogOptions {
                             "The table names RegEx of the database to capture."
                                     + "The table name needs to include the 
database name, for example: database_.*\\.table_.*");
 
+    /**
+     * This parameter is deprecated, please use parameter: 
TableSchemaOptions.TABLE_CONFIGS. {@link
+     * org.apache.seatunnel.api.options.table.TableSchemaOptions}
+     */
+    @Deprecated
     Option<List<Map<String, Object>>> TABLE_LIST =
             Options.key("table_list")
                     .type(new TypeReference<List<Map<String, Object>>>() {})
                     .noDefaultValue()
                     .withDescription(
-                            "SeaTunnel Multi Table Schema, acts on structed 
data sources. "
+                            "This parameter is deprecated, please use 
parameter: TableSchemaOptions.TABLE_CONFIGS.SeaTunnel Multi Table Schema, acts 
on structed data sources. "
                                     + "such as jdbc, paimon, doris, etc");

Review Comment:
   The `table_configs` option is currently described as for `unstructured data 
sources`. 
   I’m a bit concerned that if this option is deprecated, it might be unclear 
which option should be used for `structured data sources`. 
   Would it make sense to clarify this to avoid potential confusion?



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