Sun BiaoBiao created SPARK-35007:
------------------------------------

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


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