yikf opened a new pull request, #8040: URL: https://github.com/apache/incubator-gluten/pull/8040
## What changes were proposed in this pull request? Fix https://github.com/apache/incubator-gluten/issues/8039. Native writer should respect table properties for spark 3.2/3.3, like compress codec. Let's say have a test suite, ``` Seq(true, false).foreach { enableNativeWrite => withSQLConf("spark.gluten.sql.native.writer.enabled" -> enableNativeWrite.toString) { withTable("t") { withSQLConf( "spark.sql.hive.convertMetastoreParquet" -> "false", "spark.sql.parquet.compression.codec" -> "gzip") { checkNativeWrite( "CREATE TABLE t STORED AS PARQUET TBLPROPERTIES ('parquet.compression'='zstd') AS SELECT 1 as c", checkNative = enableNativeWrite) val warehouse = conf.getConf(StaticSQLConf.WAREHOUSE_PATH) } } } } ``` vanilla spark will write parquet file with ZSTD compress codec, but the current native writer use GZIP ## How was this patch tested? manual tests **vanilla spark**  **before PR, native writer**  **with this PR, native writer**  -- 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]
