pyflink

Using Python user defined function in a Java Flink Job

纵然是瞬间 提交于 2021-02-05 07:19:24
问题 Is there anyway to use a python user defined function within a Java Flink Job or anyway to communicate for example the result of a transformation done by flink with java with a python user defined function to apply some machine learning things: I know that from pyFlink you can do something like this: table_env.register_java_function("hash_code", "my.java.function.HashCode") But I need to do something like that but add the python function from java, or how can I pass the result of a java