FangYongs commented on PR #22768: URL: https://github.com/apache/flink/pull/22768#issuecomment-1617398941
> I would like to use independent RM for each query in sql-gateway to avoid submitting job with unnecessary jars. For example, we create a function as follows: `create function aaa AS 'xxx' using jar 'xxx/a.jar'` Users can submit a query with aaa function as follows `select x1, aaa(x2), x3 from table ...;` The jar file `xxx/a.jar` will be added to RM for the query. If we use the shared RM in session for sql-gateway, when user submit a query without function `aaa` as follows `select x1, x2, x3 from table ...;` This job will always has the `xxx/a.jar` in its path, and job manager will create user classloader with the `xxx/a.jar` for the new job even it does not need it. -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org