myandpr commented on issue #20501:
URL: https://github.com/apache/datafusion/issues/20501#issuecomment-4083771507

   Hi @Jefffrey @alamb I spent a bit of time looking at this.
   
   The immediate problem seems to be that `TypeSignature::OneOf` turns 
overload/coercion failures into an `Internal error`, which then becomes 
user-visible during planning.
   
   Would it make sense to return a normal planning error here instead, while 
keeping the existing candidate-signature diagnostics?
   
   That would not fully restore the older `Sum not supported for Boolean` 
wording, but it should address the misleading internal-error behavior and the 
exposed internal type details.
   
   Would it also make sense to look at this implementation? 
https://github.com/apache/datafusion/pull/21032


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