For function, SQL function don't suffer from compatibility problems due to language issues and depends only on the engine. Therefore, SQL function is recommended, but not all engines support SQL function. Trino supports SQL function and Python function, but since SQL function can override Python function's capabilities, only keep SQL function.
Best, Jerry yejunhao <441005...@qq.com.invalid> 于2025年4月28日周一 09:59写道: > Looks nice, > Is that means, we can define our UDF in paimon? And could you provide some > Interface of the java? > And why trino only support sql function not jar function? > > Best, > Junhao > > > 2025年4月27日 11:38,lining jing <jinglini...@gmail.com> 写道: > > > > Hi devs, > > I would like to start a discussion about PIP-31: Introduce Function > > > > As Paimon has supported table and view, maybe we could support function, > > and we could use it in: > > 1. Unified column-level filtering and processing capabilities (ps: for > > email information encryption and decryption) > > 2. Parameterized view capabilities: similar to retrieving views, it > > supports parameters > > > > Looking forward to your feedback, thanks! > > [1] pip-31 > > < > https://cwiki.apache.org/confluence/display/PAIMON/PIP-31%3A+Introduce+Function > > > > > > Best, Jerry > >