fsk119 commented on PR #23034: URL: https://github.com/apache/flink/pull/23034#issuecomment-1644218489
Hi @zentol. The reason we bundle flink-core is to make the tool easier to use. They can just add the jdbc-bundle dependency in their projects without detailed dependency management. I think it is difficult for jdbc users to use flink-dist. As the example "FlinkDriverExample" shows, users only need to write java code to communicate with the running remote gateway service without building flink-dist in the local environment. Your suggestion about the usage of the IOUtils makes me realize it's difficult to remove the flink-core... Many dependencies used by the flink-jdbc-bundle use `org.apache.flink.util.Preconditions` everywhere, e.g. `RestClient`. I think it's not possible to remove this directly. -- 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]
