DonnyZone edited a comment on issue #1609: [CALCITE-3520] Type cast from 
primitive to box is not correct
URL: https://github.com/apache/calcite/pull/1609#issuecomment-561149310
 
 
   I found there is a function `assignableFrom` in `Primitive`. It conducts 
fine-grained check on primitive type's assignment. Therefore, we can add a 
condition and keep this optimization.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to