- Structure: The
usrlibcontains a sample Java UDF file, but any folder name or subfolder can be used inside the DataSQRL project root. - Defining the Function: The main component of this project is the
MyScalarFunctionclass. This is the implementation of a custom flink function. DataSQRL recognizes flink functions that extend any base Flink UDF class. - Defining Dependencies: To fetch dependencies JBang will look for lines that start with
//DEPSand define a proper artifact. The bare minimum that any Flink UDF will require isflink-table-common, because the custom UDF has to extend a Flink built-in UDF parent class. - JAR Compiling: The compile and JAR build is handled by JBang, that DataSQRL will do automatically on the fly.
jbang
Directory actions
More options
Directory actions
More options
jbang
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||