Support for multi-column aggregate functions

Anderson, David B david.b.anderson at
Wed Apr 27 17:07:47 CEST 2016

I was hoping to use a native/low level implementation for high performance (my data set is on the order of 2.  It looks like multiple column aggregates are supported (corr & covar) so in theory I could add a new function.

Poking around in the archives, it looks like I need to add a new MAL and link it to a C implementation.

Are there any examples on how to do this?

From: users-list [ at] On Behalf Of Anthony Damico
Sent: Wednesday, April 27, 2016 9:47 AM
To: Communication channel for MonetDB users
Subject: Re: Support for multi-column aggregate functions

possible to translate one of these?<>

On Wednesday, April 27, 2016, Anderson, David B <david.b.anderson at<mailto:david.b.anderson at>> wrote:
I am really looking for an implementation of a weighted percentile within a group.

-----Original Message-----
From: Anderson, David B [ICG-MKTS]
Sent: Wednesday, April 27, 2016 9:18 AM
To: users-list at<javascript:;>
Subject: Support for multi-column aggregate functions


Does the current version of MonetDB support multi-column aggregate functions? I need to create a function which returns the "quantiles" of one column using another column as a weighting. It looks like PostgreSQL supports multi-column aggregates as of 8.2.

I could write an embedded R function to compute this, but want to know if it is even possible to pass in multiple columns.

users-list mailing list
users-list at<javascript:;><>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users-list mailing list