Issue Description
This issue happens when I pivot a dataset by 1 or more rows and 0 columns over 1 or more aggregated measures. When the dataset column I choose as a pivot row contains NULL data, the aggregated values does not display.
Version Details
Attached Files Details
Refer to the reference.zip file for reference materials on the issue.
Data Server API - non-working scenario vs working scenario
non-working scenario: this scenario pivots the dataset "filename" column, where the column is having some null data
non-working api: /select
non-working api payload: {"type":"select","index":"1933903","query":{"aggs":{"by":{"rows":[{"uniqueName":"operation"},{"uniqueName":"filename"}]},"values":[{"func":"count","field":{"uniqueName":"command"}},{"func":"count","field":{"uniqueName":"who"}}]},"filter":[{"field":{"uniqueName":"operation"},"include":[{"member":"execution"}]}]},"querytype":"expand","page":0}
non-working api response: {"fields":null,"hits":null,"aggs":[{"keys":{},"values":{"command":{"count":3},"who":{"count":3}}},{"keys":{"operation":"execution"},"values":{"command":{"count":3},"who":{"count":3}}},{"keys":{"filename":null},"values":{"command":{"count":3},"who":{"count":3}}},{"keys":{"filename":null,"operation":"execution"},"values":{"command":{"count":3},"who":{"count":3}}}],"pageTotal":1,"page":0,"nextPageToken":null}
working scenario: this scenario pivots the dataset "filename1" column, where the column data are all non-null
working api: /select
working api payload: {"type":"select","index":"1933908","query":{"aggs":{"by":{"rows":[{"uniqueName":"operation"},{"uniqueName":"filename1"}]},"values":[{"func":"count","field":{"uniqueName":"command"}},{"func":"count","field":{"uniqueName":"who"}}]},"filter":[{"field":{"uniqueName":"operation"},"include":[{"member":"execution"}]}]},"querytype":"expand","page":0}
working api response: {"fields":null,"hits":null,"aggs":[{"keys":{},"values":{"command":{"count":3},"who":{"count":3}}},{"keys":{"operation":"execution"},"values":{"command":{"count":3},"who":{"count":3}}},{"keys":{"filename1":"empty"},"values":{"command":{"count":3},"who":{"count":3}}},{"keys":{"operation":"execution","filename1":"empty"},"values":{"command":{"count":3},"who":{"count":3}}}],"pageTotal":1,"page":0,"nextPageToken":null}