clintropolis commented on issue #8970:
URL: https://github.com/apache/druid/issues/8970#issuecomment-829764993


   btw, the workaround works, even though it is very odd, because by using an 
array expression explicitly the selector assumes that the expression is 
prepared for errorType to be multi-valued string column and skips the 
transformation (even though in this case the usage doesn't make much sense, but 
it isn't smart enough yet to understand that). Because Druid string columns can 
switch between being stored as single valued and multi-valued columns from 
segment to segment, all array functions allow scalar inputs to be implicitly 
converted to an array with a single element, so the array function ends up just 
passing through the result.
   
   This is pretty sub-optimal though as you can imagine, so I'll try to get a 
real fix in soon 😅 


-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to