turboFei edited a comment on issue #27150: SPARK-30471: Fix issue when 
comparing String and IntegerType
URL: https://github.com/apache/spark/pull/27150#issuecomment-572624053
 
 
   Double.Max is 1.7976931348623157E308.
   For mysql:
   
![image](https://user-images.githubusercontent.com/6757692/72082549-4ca21880-333b-11ea-85f8-8ff2269befc5.png)
   
   For teradata:
   
![image](https://user-images.githubusercontent.com/6757692/72082582-5af03480-333b-11ea-8562-20135d65ba80.png)
   
![image](https://user-images.githubusercontent.com/6757692/72082789-aefb1900-333b-11ea-8dda-cb265b3421ad.png)
   
   
   May be teradata cast string to double.
   And mysql cast it as a more wild numeric type.
   I think it is a good option to follow the behavior of teradata.

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