presto-sql-helpers/README.md
The presto-sql-helpers directory provides inline SQL-invoked functions for Presto.
It is not a library by itself, instead it contains two plugin modules, each packaging the functions needed for a specific cluster type.
presto-sql-invoked-functions-plugin
presto-sql-invoked-functions-plugin module.presto-native-sql-invoked-functions-plugin
presto-native-sql-invoked-functions-plugin module.Each cluster must load exactly one SQL-Invoked functions plugin. If both plugins are loaded, or if the wrong plugin is loaded, Presto will fail to start due to signature conflicts.
| Cluster Type | Plugin to load |
|---|---|
| Java cluster | presto-sql-invoked-functions-plugin |
| Native cluster (no sidecar) | presto-sql-invoked-functions-plugin |
| Native cluster (with sidecar) | presto-native-sql-invoked-functions-plugin |