-
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
Hi,
buildTransforms method firstly takes "aggregate" value and pushes to the result and only after it takes "filter" value and pushes to the result.
For example, we have the following query object:
{
"transform": {
"filter": [
{
"project": "some value"
}
],
"aggregate": {
"id": {
"with": "countdistinct",
"as": "count"
}
}
}
}
And result is:
$apply=aggregate(id with countdistinct as count)/filter(project eq 'some value')
And it's a wrong expression because first of all, we have to apply filter transformation.
hakimio
Metadata
Metadata
Assignees
Labels
No labels