metamx/druid — pull request #546 by gianm (2014-05-16 02:38:53+00:00)
Title: ObjectColumnSelector/JS aggregator support for multi-valued columns.

You may notice that one of the tests detects the array by using ```typeof a !== 'string'``` instead of ```Arrays.isArray(a)``` or ```typeof a === 'array'```. This is because the latter two methods don't work. The type of "a" is actually "object" even though it behaves like an array (subscripting and indexOf both work). I don't know why...

PS, the ```cx.getWrapFactory().setJavaPrimitiveWrap(false)``` business causes the strings inside the array to get treated as actual JS strings. Otherwise they get treated as wrapped Java objects and you can't actually compare them to real JS strings.