You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "yikf (via GitHub)" <gi...@apache.org> on 2024/11/25 11:16:38 UTC

[I] [VL] Native writer should respect table properties for spark 3.3/3.4 [incubator-gluten]

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: commits-unsubscribe@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL] Native writer should respect table properties for spark 3.2/3.3 [incubator-gluten]

Posted by "jackylee-ch (via GitHub)" <gi...@apache.org>.
jackylee-ch closed issue #8039: [VL] Native writer should respect table properties for spark 3.2/3.3
URL: https://github.com/apache/incubator-gluten/issues/8039


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org