clintropolis commented on PR #15964:
URL: https://github.com/apache/druid/pull/15964#issuecomment-1997097054

   i think the only hesitation i have here is it feels odd that this is the 
only array function that allows numeric inputs, i wonder if we should just 
allow them all to accept any input since at the native layer we allow the array 
functions to work with anything, if it isn't already and array we make it a 
single element array. This is largely done to make stuff work with schema 
evolution, and also mvds fit this pattern, but SQL is currently more 
restrictive.. and probably shouldn't have allowed VARCHAR either if we werent 
going to allow ANY to be symmetrical with the native layer.
   
   Need to think about it a bit.


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

To unsubscribe, e-mail: [email protected]

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