https://questdb.io logo
Title
s

SOURAV BATGIRI

10/06/2022, 9:53 AM
Hi everyone, I am working on this issue #2578 (Hacktoberfest 2022). I was working on the ceiling function, in Numeric section. I've hit a roadblock can't understand the following error. Can someone guide me, what I am missing?
a

Andrey Pechkurov

10/06/2022, 10:16 AM
Hi Sourav, Probably you need to register your functions in
core/src/main/java/module-info.java
and
core/src/main/resources/META-INF/services/io.questdb.griffin.FunctionFactory
. Check how it's done in this PR: https://github.com/questdb/questdb/pull/2579/files
s

SOURAV BATGIRI

10/06/2022, 10:30 AM
Thanks Andrei, it worked.
j

Jaromir Hamala

10/06/2022, 11:00 AM
fwiw: I had exactly the same problem when working on my very first QuestDB function: I added the factory to
META-INF/services/io.questdb.griffin.FunctionFactory
, but I didnt know about
module-info.java
It was driving my crazy, debugging ServiceLoader, classloaders & friends! :)