You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2021/04/10 23:11:00 UTC

[jira] [Resolved] (SPARK-35007) Spark 2.4.x version does not support numeric

     [ https://issues.apache.org/jira/browse/SPARK-35007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yuming Wang resolved SPARK-35007.
---------------------------------
    Resolution: Won't Fix

> Spark 2.4.x 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  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