gengliangwang commented on PR #37576:
URL: https://github.com/apache/spark/pull/37576#issuecomment-1222031233

   > when adding implicit case for string to int, can we add a AssertIntegral 
expression? so the final expression will be Cast(AssertIntegral(str_col), ...).
   
   The problem is that there are too many entries in the implicit cast(type 
coercion). Even if we fixed all of them, it is hard to guarantee the future 
code covers all the implicit cast. I would suggest adding a new flag/expression 
on the explicit cast. 


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