[ https://issues.apache.org/jira/browse/SPARK-43814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ke Jia updated SPARK-43814: --------------------------- Description: When using the df.collect() result to construct the DecimalType in Decimal scale (18) cannot be greater than precision (1). org.apache.spark.sql.AnalysisException: Decimal scale (18) cannot be greater than precision (1). > Spark cannot use the df.collect() result to construct the DecimalType in > CatalystTypeConverters.convertToCatalyst() API > ----------------------------------------------------------------------------------------------------------------------- > > Key: SPARK-43814 > URL: https://issues.apache.org/jira/browse/SPARK-43814 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.2.2, 3.3.2 > Reporter: Ke Jia > Priority: Major > > When using the df.collect() result to construct the DecimalType in > Decimal scale (18) cannot be greater than precision (1). > org.apache.spark.sql.AnalysisException: Decimal scale (18) cannot be greater > than precision (1). -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org