[ https://issues.apache.org/jira/browse/SPARK-32706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194315#comment-17194315 ]
Apache Spark commented on SPARK-32706: -------------------------------------- User 'wangyum' has created a pull request for this issue: https://github.com/apache/spark/pull/29731 > Poor performance when casting invalid decimal string to decimal type > -------------------------------------------------------------------- > > Key: SPARK-32706 > URL: https://issues.apache.org/jira/browse/SPARK-32706 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.1.0 > Reporter: Yuming Wang > Priority: Minor > Attachments: part-00000.parquet > > > How to reproduce this issue: > {code:java} > spark.read.parquet("/path/to/part-00000.parquet").selectExpr("cast(bd as > decimal(18, 0)) as x").write.mode("overwrite").save("/tmp/spark/decimal") > {code} -- 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