You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/03 06:21:53 UTC
[GitHub] [spark] AngersZhuuuu edited a comment on pull request #30350: [SPARK-33428][SQL] Conv UDF use BigInt to avoid Long value overflow
AngersZhuuuu edited a comment on pull request #30350:
URL: https://github.com/apache/spark/pull/30350#issuecomment-737690572
> Fixing overflow should be good. It's not very intuitive to read the results of this function. Is there any database we can use as a reference?
Mysql: https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html#function_conv
But still only support 64-bit presicion.
Hive: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF
Latest version support BigInt now but internal logic still use `long`..

----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org