[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to