gengliangwang edited a comment on issue #26833: [WIP][SPARK-30203][SQL] store 
assignable if there is an appropriate user-defined cast function
URL: https://github.com/apache/spark/pull/26833#issuecomment-564180861
 
 
   @yaooqinn I think the store assignment rule is independent of the casting 
rule.
   In PostgreSQL, if you try inserting a string column to an integer column, 
there will be an error. It works with inserting literals though.
   
   > there shall exist an appropriate user-defined cast function UDCF from SD 
to TD
   
   IIUC, there is no UDCF support in Spark. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to