You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2023/02/16 09:26:26 UTC
[GitHub] [flink-table-store] JingsongLi commented on a diff in pull request #540: [FLINK-31087] Introduce insert-changes action
JingsongLi commented on code in PR #540:
URL: https://github.com/apache/flink-table-store/pull/540#discussion_r1108217172
##########
flink-table-store-connector/src/main/java/org/apache/flink/table/store/connector/action/DeleteAction.java:
##########
@@ -115,8 +110,7 @@ public void run() throws Exception {
StreamTableEnvironment tEnv =
StreamTableEnvironment.create(env, EnvironmentSettings.inBatchMode());
- tEnv.registerCatalog(flinkCatalog.getName(), flinkCatalog);
- tEnv.useCatalog(flinkCatalog.getName());
+ registerAndUseCatalog(tEnv);
Review Comment:
Can we add a `tEnv` in `ActionBase`?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org