gortiz commented on PR #20277:
URL: https://github.com/apache/pinot/pull/20277#issuecomment-7012732478

   Thanks for the fix, this looks good to me. One follow-up: I think 
`ARRAY[NULL, 1]` still fails at planning. `keepExactArrayElements` leaves the 
`null` element in place, and `arrayValueConstructor` takes the element class 
from `arr[0].getClass()`, so a NULL in the first position still throws a 
NullPointerException. All the new tests put the NULL after the first element. 
This was already broken before #19948, so it's not a regression from that PR. 
Could you add a test for that case in a follow-up? It could either fix it (take 
the class from the first non-null element) or document it as a known limitation.
   


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