Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Median aggregate not working with coalesce #51

Open
maikberthelsen opened this issue Sep 17, 2020 · 0 comments
Open

Median aggregate not working with coalesce #51

maikberthelsen opened this issue Sep 17, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@maikberthelsen
Copy link
Collaborator

Inline variables not working:

"Median1": {
                "kind": "numeric",
                "value": {"tsx": 'coalesce(toDouble($event.value.Long), $event.value.Double)'},
                "filter": null,
                "aggregation": {
                    "tsx": "median($value)"
                },
            },

Inline variables working:

 "Median2": {
                "kind": "numeric",
                "value": {"tsx": '$event.value.Double'},
                "filter": null,
                "aggregation": {
                    "tsx": "median($value)"
                },
            },
@maikberthelsen maikberthelsen added the bug Something isn't working label Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant