Plugins
A plugin is a small JAR that adds one ability to the platform, for example one Spark SQL function. The engine finds plugins when it starts, so adding a capability means adding a JAR, not changing the engine.
Today the plugins are user-defined functions (UDFs). Each one adds a function that pipelines can call by name. They all follow the same contract, described in core-udf.
Available plugins
Section titled “Available plugins”subtraction-udf
SUB(array)SUB: subtracts the later numbers from the first.
multiplication-udf
MUL(array)MUL: the product of the numbers in an array.
division-udf
DIV(array)DIV: divides the first number by the later ones.
Planned plugins exist in the source tree but are not published yet.
How to use one
Section titled “How to use one”Add the contract once and then any plugin you need. Both are on Maven Central under com.camelioflux.plugins.udf. See Use a plugin for the full steps.
Write your own
Section titled “Write your own”Follow Write a plugin.
