Re: How to use a custom aggregate function?

2024-01-05 Thread Andrus Adamchik
> Thanks for the quick reply. I tried #1 but both constructors of > ASTAggregateFunctionCall are package private. Oh well. Indeed, we need a better abstraction there. > Option #2 I tried using the alias in the count to check in the > SQLTreeProcessor when to change it to another function, i.e.

Re: How to use a custom aggregate function?

2024-01-05 Thread Mark Stobbe
Hi Andrus, Thanks for the quick reply. I tried #1 but both constructors of ASTAggregateFunctionCall are package private. Option #2 I tried using the alias in the count to check in the SQLTreeProcessor when to change it to another function, i.e. property.count().alias("__ARRAY_AGG__"); ...