Kuiper 1.1.2 version
Overview
Kuiper 1.1.2 added a sample plugin LabelImage to demonstrate the integration with machine learning framework TensorFlow Lite. Additionally, function plugin was enhanced to support defining multiple functions in one plugin to organize functions in category and reduce the complexity to create functions. To build the extended plugins, the build tag --trimpath
is now required in order to improve the compatibility. We also support more built in functions like geohash related functions and cardinality , support more expressions like negative array index and support more rule properties like sendError. Finally, we fix several issues for both the product and document.
Features & fixes
- Integration with TensorFlowLite
- Sample plugin LabelImage to leverage pre-trained TensorFlowLite model to label images
- Tutorial about Run TensorFlow Lite model with Kuiper function plugin
- Plugin enhancements
- Support multiple functions in one function plugin
- Support to get Kuiper root path in context
ctx.GetRootPath()
- Refactor image functions to one plugin
- Add GeoHash plugin to support several geo hash functions
- Build
- Add
--trimpath
build option for kuiperd build. Since this release, this property is required to build extended plugins - Run process/container as kuiper user to avoid security risk
- Add
- Support negative array index such as
array[:-1]
- Add built in function
cardinality(array)
to get the length of array - Add rule property sendError to specify if runtime errors will send to the sink
- Fixes
- Fix stop rule memory clean up problem
- Restore httpPull dataSource support
- Fixed describe stream issue for bytea type
- Fixed arbitrary session window error at the first input
- Remove unused empty folders inside data
- Documentation fixes
- Fix several links
- Fix an index error for built-in functions doc
Thanks
- @beaufrusetta provides a fix to run process/container as kuiper user
- @noahlaux provides a fix for the documentation