yikf opened a new issue, #8039:
URL: https://github.com/apache/incubator-gluten/issues/8039
### Backend
VL (Velox)
### Bug description
Native writer should respect table properties for spark 3.3/3.4, 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
### Spark version
Spark-3.2.x
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
_No response_
--
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]