You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/04/09 11:16:00 UTC
[jira] [Commented] (SPARK-35007) Spark 2.4 version does not support
numeric
[ https://issues.apache.org/jira/browse/SPARK-35007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317918#comment-17317918 ]
Apache Spark commented on SPARK-35007:
--------------------------------------
User 'zheniantoushipashi' has created a pull request for this issue:
https://github.com/apache/spark/pull/32109
> Spark 2.4 version does not support numeric
> ------------------------------------------
>
> Key: SPARK-35007
> URL: https://issues.apache.org/jira/browse/SPARK-35007
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.7
> Reporter: Sun BiaoBiao
> Priority: Major
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> as said in this pr: [https://github.com/apache/spark/pull/31891] ,
>
> So seems the key difference between DEICMAL and NUMERIC are:
> {quote}implementation-defined decimal precision equal to or greater than the value of the specified precision.
> {quote}
> Decimal can have _at least_ specified precision (which means can have more) whereas numeric should have exactly specified precision.
> Spark's decimal satisfy both so I think NUMERIC as a synonym of DECIMAL makes sense.
>
> my code need needs to use NUMERIC type in spark2.4 version
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org