davidzollo commented on code in PR #10370:
URL: https://github.com/apache/seatunnel/pull/10370#discussion_r2735659672
##########
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:
@chl-wxp good suggestion.
I think that most data sources now use table_list. Semantically, table_list
is clearer and easier to understand, so I suggest uniformly using table_list
instead of table_configs.
--
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]