Closed saulshanabrook closed 5 years ago
cc @xmnlab
To implement this, would we:
Sample
aggregate to ibis expressions. Is this the same as the existing Arbitrary
expression?I think Arbitrary
could be the right operation: https://github.com/ibis-project/ibis/issues/1230
So we would just have to add a mapping to OmniSci to map this to sample
It looks like it is taking the last of groupby: https://github.com/omnisci/mapd-core/blob/ce5c83d782f30b0ef62dff98fff530fdd65e14d7/QueryEngine/Execute.cpp#L733-L740
I am working on adding this.
in the documentation:
Note: This was previously LAST_SAMPLE, which is now deprecated.
(https://www.omnisci.com/docs/latest/5_math.html#aggregate-function-support-1)
so a translation from arbitrary last to sample should works fine
OmniSci supports the
SAMPLE
aggregate method that:I don't believe this is implemented in the Ibis wrapper.