[ https://issues.apache.org/jira/browse/FLINK-21464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314917#comment-17314917 ]
xiangtao edited comment on FLINK-21464 at 4/5/21, 3:05 PM: ----------------------------------------------------------- [~fsk119] i'm sorry , my reply is a little late . my implementation plan is as follows: # sql-client has one option `-j` that cloud add jar to sql classpath. so i can use this feature. # when execute `add jar foo.jar` , need to store this jar list to `SessionContext` as a member variable . # final when execute a select/insert/update sql , it need to load this jar to `URLClassLoader` in `ExecutionContext` because invoke sql by ` context.wrapClassLoader(() -> tEnv.executeInternal(operation))` in `ExecutionContext` but i has a question , how to support unload a jar use `remove jar` ? was (Author: xiangtao): [~fsk119] i'm sorry , my reply is a little late . my implementation plan is as follows: # sql-client has one option `-j` that cloud add jar to sql classpath. so i can use this feature. # when execute `add jar foo.jar` , need to store this jar list to `SessionContext` as a member variable . # final when execute a select/insert/update sql , it need to load this jar to `URLClassLoader` in `ExecutionContext` because invoke sql by ` context.wrapClassLoader(() -> tEnv.executeInternal(operation))` in `ExecutionContext` but i has a question , how to support unload a jar use `remove jar` ? > Support ADD JAR command in sql client > ------------------------------------- > > Key: FLINK-21464 > URL: https://issues.apache.org/jira/browse/FLINK-21464 > Project: Flink > Issue Type: Sub-task > Components: Table SQL / Client > Affects Versions: 1.13.0 > Reporter: Shengkai Fang > Assignee: xiangtao > Priority: Major > Fix For: 1.14.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)