tsreaper commented on pull request #17672:
URL: https://github.com/apache/flink/pull/17672#issuecomment-961729196


   Sorry for misleading. As all test classes are in the same class path, if we 
create a new udf class in test it will still be loaded by the default class 
loader. One way to work around this is to compile a Java code string to Java 
class file in the test and load that classpath with user class loader. There is 
already a utility test method `TestUserClassLoaderJar.createJarFile` in 
`flink-sql-client` module which does exactly the same thing. You can consider 
moving it to a common test module.


-- 
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]


Reply via email to