rtpsw commented on PR #14386:
URL: https://github.com/apache/arrow/pull/14386#issuecomment-1276261064

   > I agree with this, but it is actually misleading here, because we're only 
checking a single condition and otherwise let errors crash silently (or corrupt 
memory etc.).
   
   I agree the leniency of the checks, as compared to validation, could be 
unexpected to some developers and therefore misleading. I'd suggest adding doc 
strings to clarify this. OTOH, I'm not sure which crash condition you mean 
could still occur. Since the current PR code check the number of values and 
their types before applying type-specific operations, I believe it can only 
crash on the `DCHECK(false)` line. I could fix this to return an error.


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

Reply via email to