wuyi created SPARK-30518: ---------------------------- Summary: Precision and scale should be same for values between -1.0 and 1.0 in Decimal Key: SPARK-30518 URL: https://issues.apache.org/jira/browse/SPARK-30518 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.0.0 Reporter: wuyi
Currently, for values between -1.0 and 1.0, precision and scale is inconsistent between Decimal and DecimalType. For example, for numbers like 0.3, it has (precision, scale) as (2, 1) in Decimal, but (1, 1) in DecimalType. We should make Decimal be consistent with DecimalType. -- 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