wForget opened a new issue, #7213: URL: https://github.com/apache/incubator-gluten/issues/7213
### Description Spark introduces the `CheckOverflowInTableInsert` expression to show proper error messages on the overflow errors of table insert, see: https://issues.apache.org/jira/browse/SPARK-39865. In gluten, we can directly transform the child expr of `CheckOverflowInTableInsert` to avoid fallback. Reproduce: ``` create table t1 (a float) stored as parquet; create table t2 (b decimal(10,4)) stored as parquet; insert into t1 values(1.1); insert overwrite t2 select * from t1; ``` gluten fallback detail: ``` == Fallback Summary == (4) Project: Not supported to map spark function name to substrait function name: cast(a#2000 as decimal(10,4)), class name: CheckOverflowInTableInsert. == Physical Plan == Execute InsertIntoHadoopFsRelationCommand (14) +- VeloxColumnarWriteFiles (13) :- ^ WriteFilesExecTransformer (8) : +- ^ InputIteratorTransformer (7) : +- RowToVeloxColumnar (5) : +- Project (4) : +- VeloxColumnarToRowExec (3) : +- ^ Scan parquet spark_catalog.pilot_temp.t1 (1) +- RowToVeloxColumnar (12) +- WriteFiles (11) +- NoopLeaf (10) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
