[ https://issues.apache.org/jira/browse/SPARK-50610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zuotingbing updated SPARK-50610: -------------------------------- Attachment: (was: image-2024-12-18-17-01-08-790.png) > we should fix the decimal precision on function toInspector(dataType: > DataType) in HiveInspectors class > ------------------------------------------------------------------------------------------------------- > > Key: SPARK-50610 > URL: https://issues.apache.org/jira/browse/SPARK-50610 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.4.4, 3.5.3 > Reporter: zuotingbing > Priority: Major > Attachments: image-2024-12-19-08-45-13-688.png > > > when we add some mask UDF on Decimal(18,10) type coloumn in hive-sdf moudle, > the scale of the mask result value should be 10, but now is 18. > In JavaHiveDecimalObjectInspector class the default scale of HiveDecimal is > 18, so we need to change to the correct decimal precision on function > toInspector(dataType: DataType) in HiveInspectors class. > > Can somebody fix it? -- 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