How to add my own operators, functions, aggregates?


#1

Hi,

Are there any documents for developing self-created operators, functions, aggregates?

Huiqun Zhou


#2

For user defined functions, check out the example in the source directory ‘examples/more_math.cpp’. For a more recent example, you can also look at the paradigm4/github example dcast in load_tools on github: github.com/Paradigm4/load_tools … ctions.cpp

For user defined operators, check out the directory in the source code examples/example_udos. Start with README. For a more recent example, look at chunk_unique on github. github.com/paradigm4/chunk_unique

For user defined aggregates, a search of the forum has lead me to the following post:
viewtopic.php?f=18&t=1122

I am not sure if the api for udas have changed. Perhaps someone from paradigm4 could update us?