You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sortBy() function takes a consolidation function as a parameter (with a default value of 'average'). If an invalid consolidation function name is passed in, the sortBy() function still attempts to do the sort, calling consolidations.SummarizeValue(). A panic can occur when the 'default' case in the SummarizeValues switch statement is hit.
The sortBy() function takes a consolidation function as a parameter (with a default value of 'average'). If an invalid consolidation function name is passed in, the sortBy() function still attempts to do the sort, calling consolidations.SummarizeValue(). A panic can occur when the 'default' case in the SummarizeValues switch statement is hit.
An example query to replicate this issue:
sortBy(groupByNode(testMetric*, 5, 'max'), 'true', true)
The resulting error that occurs is:
recovered from panic: "runtime error: index out of range [1] with length 1"
The text was updated successfully, but these errors were encountered: