pivot icon indicating copy to clipboard operation
pivot copied to clipboard

Issue querying multi-value dimension in line-chart view

Open sascha-coenen opened this issue 9 years ago • 0 comments

Given a multi-valued dimension containing string values in a Druid datasource, Pivot works fine in table-view but fails with an exception, if Pivot is in line-chart view and the multi-valued dimension is being selected as an additional split AND a custom set of values is being selected from the respective pinned billboard for that very dimension.

In that case, the resulting plywood query will contain the following fragment: {"action":"filter","expression":{"op":"chain","expression":{"op":"ref","name":"multiValuedDimension"},"action":{"action":"in","expression":{"op":"literal","value":{"setType":"STRING","elements":["A","B","C","D","E"]},"type":"SET"}}}}

This yields a query error saying "in action has a bad type combination SET/STRING in SET/STRING

The expected filter behaviour to my understanding should be to match records which multiValueDimension column contains either of the specified values: A,B,C,D,E

sascha-coenen avatar Jul 11 '16 15:07 sascha-coenen