In answer to a github ticket regarding UDF of clickhouse, they answered in 2017 that UDF can't be created in clickhouse. I want to know Is there any way to do it now in 2020?
UDFs for ClickHouse came in September, 2021. There are two PRs introducing UDFs:
CREATE FUNCTION plus_one as (a) -> a + 1
. I have tested this on ClickHouse v21.10.2.15 and it works (should be supported starting from v21.10).clickhouse-local
to process data incoming from ClickHouse server.As a presentation from 2021 says, ClickHouse team considers five ways to define a UDF. One of alternative ways mentioned in an older presentation is a cache dictionary with an executable source.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With