How can one reproduce the bug?
Steps to reproduce the behavior:
Create a new index and load the data above
Run the query above
What is the expected behavior?
The COUNT function only counts the number of array values.
What is your host/environment?
OS: Mac OS X (shouldn't matter)
Version: 3.0 code base
Plugins: SQL plugin
Do you have any screenshots?
N/A
Do you have any additional context?
Issue #1300 had a change recently merged in that allows array values to be used in query evaluation and in the result set.
What is the bug? The COUNT function counts the number of elements in all array values rather than counting the number of array values.
Consider an index with the following data:
and this query:
Expected Result:
How can one reproduce the bug? Steps to reproduce the behavior:
What is the expected behavior? The COUNT function only counts the number of array values.
What is your host/environment?
Do you have any screenshots? N/A
Do you have any additional context? Issue #1300 had a change recently merged in that allows array values to be used in query evaluation and in the result set.