hailin0 commented on code in PR #7713:
URL: https://github.com/apache/seatunnel/pull/7713#discussion_r1773178958
##########
seatunnel-core/seatunnel-flink-starter/seatunnel-flink-starter-common/src/main/java/org/apache/seatunnel/core/starter/flink/utils/TableUtil.java:
##########
@@ -42,4 +44,25 @@ public static DataStream<Row> tableToDataStream(
public static boolean tableExists(TableEnvironment tableEnvironment,
String name) {
return Arrays.asList(tableEnvironment.listTables()).contains(name);
}
+
+ // catalogName.databaseName.[schemeName].tableName ->
databaseName.[schemeName].tableName
+ public static String extractTableIdName(TableIdentifier tableIdentifier) {
Review Comment:
Use `TableIdentifier#toTablePath().toString()` ?
--
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]