apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.27k stars 1.15k forks source link

Flink supports udf function #5067

Closed ChengJie1053 closed 5 months ago

ChengJie1053 commented 5 months ago

Flink supports udf function

Submit the flink udf task parameters

sh /appcom/Install/LinkisInstall150/bin/linkis-cli -engineType flink-1.16.2 \ -codeType sql -code "select linkis_flink_udf('test')" \ -submitUser hadoop -proxyUser hadoop

image

image

image

image

LinkisFlinkUdfExample image

org.apache.linkis.engineplugin.flink.LinkisFlinkUdfExample

You can also download it directly from the link below https://github.com/ChengJie1053/linkis_flink_udf_example/blob/main/linkis_flink_udf_example.jar