lirui-apache commented on a change in pull request #10514:
[FLINK-15167][sql-client] SQL CLI library option doesn't work for Hive connector
URL: https://github.com/apache/flink/pull/10514#discussion_r356942647
##########
File path:
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/local/ExecutionContext.java
##########
@@ -151,6 +153,9 @@ private ExecutionContext(
classLoader = FlinkUserCodeClassLoaders.parentFirst(
dependencies.toArray(new
URL[dependencies.size()]),
this.getClass().getClassLoader());
+ if (!dependencies.isEmpty()) {
+ flinkConfig.set(PipelineOptions.JARS,
dependencies.stream().map(URL::toString).collect(Collectors.toList()));
Review comment:
Sure, I'll wait for #10501 and rebase
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services