Hi Godfrey, thanks for your suggestion. I have added two examples how to use python UDF in SQL and how to start sql-client.sh with full python dependencies In FLIP.
Best, Xingo godfrey he <[email protected]> 于2020年3月9日周一 下午10:24写道: > Hi Wei, thanks for the proposal. > > I think it's better to give two more examples, one is how to use python UDF > in SQL, another is how to start sql-client.sh with full python > dependencies. > > Best, > Godfrey > > Wei Zhong <[email protected]> 于2020年3月9日周一 下午10:09写道: > > > Hi everyone, > > > > I would like to start discussion about how to support Python UDF in SQL > > Client. > > > > Flink Python UDF(FLIP-58[1]) has already been introduced in the release > of > > 1.10.0 and the support for SQL DDL is introduced in FLIP-106[2]. > > > > SQL Client defines UDF via the environment file and has its own CLI > > implementation to manage dependencies, but neither of which supports > Python > > UDF. We want to introduce the support of Python UDF for SQL Client, > > including the registration and the dependency management of Python UDF. > > > > Here is the design doc: > > > > > > > https://cwiki.apache.org/confluence/display/FLINK/FLIP-114%3A+Support+Python+UDF+in+SQL+Client > > > > Looking forward to your feedback! > > > > Best, > > Wei > > > > [1] > > > https://cwiki.apache.org/confluence/display/FLINK/FLIP-58%3A+Flink+Python+User-Defined+Stateless+Function+for+Table > > [2] > > > https://cwiki.apache.org/confluence/display/FLINK/FLIP-106%3A+Support+Python+UDF+in+SQL+Function+DDL > > > > >
