wecharyu opened a new pull request, #12932: URL: https://github.com/apache/gluten/pull/12932
## What changes are proposed in this pull request? Enable `flatten-maven-plugin` for `backends-velox`. This is similar to https://github.com/apache/gluten/issues/11958, when running following test command in Spark 4.x, maven resolved arrow version 15, while Spark 4.x requires arrow 18, then the test failed: ```bash java.lang.NoClassDefFoundError: org/apache/arrow/vector/types/pojo/ArrowType$Utf8View at org.apache.arrow.c.SchemaExporter.export(SchemaExporter.java:70) at org.apache.arrow.c.Data.exportField(Data.java:55) at org.apache.arrow.c.Data.exportSchema(Data.java:72) at org.apache.gluten.utils.ArrowAbiUtil$.exportSchema(ArrowAbiUtil.scala:134) at org.apache.gluten.execution.RowToVeloxColumnarExec$.toColumnarBatchIterator(RowToVeloxColumnarExec.scala:140) ``` ## How was this patch tested? Pass test: ```bash build/mvn test -Dtest=none -Pspark-4.1 -Pscala-2.13 -Pjava-17 -Pbackends-velox -Pspark-ut -DargLine="-Dspark.test.home=/opt/shims/spark41/spark_home/ -Dspark.testing=true" -pl gluten-ut/spark41 -Dsuites="org.apache.spark.sql.execution.datasources.parquet.GlutenParquetIOSuite" ``` ## Was this patch authored or co-authored using generative AI tooling? No. -- 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]
