clintropolis commented on issue #8947: Unnecessary cartesian explosion if multi-value column is reused in expression URL: https://github.com/apache/incubator-druid/issues/8947#issuecomment-561453513 >so this should yield a result of [other, 1], [b, 1], [g, 1] ? With the adjusted behavior, the expression would be translated into something like ``` map(dstGroups -> case_searched((dstGroups == 'b'),'b',(dstGroups == 'g'),'g','Other'), dstGroups) ``` which would yield the per row results: ``` [other, b, other, other] [other, other, other] [other, g] ``` Druid does an implicit "un-nest" when grouping on a multi-value string dimension, so the final results would be I think: ``` other, 7 b, 1 g, 1 ``` if I can add correctly
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
