You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2024/05/15 08:49:08 UTC
(spark) branch master updated: [SPARK-46759][AVRO][FOLLOWUP] Fix configuration name for spark.sql.avro.xz.level
This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new d0385c4a99c1 [SPARK-46759][AVRO][FOLLOWUP] Fix configuration name for spark.sql.avro.xz.level
d0385c4a99c1 is described below
commit d0385c4a99c172fa3e1ba2d72a65c8632b5c72a9
Author: Kent Yao <ya...@apache.org>
AuthorDate: Wed May 15 16:48:55 2024 +0800
[SPARK-46759][AVRO][FOLLOWUP] Fix configuration name for spark.sql.avro.xz.level
### What changes were proposed in this pull request?
`spark.sql.avro.xz.level` is wrongly defined as `spark.sql.avro.zx.level`
### Why are the changes needed?
Bugfix
### Does this PR introduce _any_ user-facing change?
no, it is not exposed via releases
### How was this patch tested?
manually
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #46590 from yaooqinn/SPARK-46759-F.
Authored-by: Kent Yao <ya...@apache.org>
Signed-off-by: Kent Yao <ya...@apache.org>
---
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
index 9edef5a1f3ca..afae4ebb5395 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -3815,7 +3815,7 @@ object SQLConf {
.checkValues((1 to 9).toSet + Deflater.DEFAULT_COMPRESSION)
.createOptional
- val AVRO_XZ_LEVEL = buildConf("spark.sql.avro.zx.level")
+ val AVRO_XZ_LEVEL = buildConf("spark.sql.avro.xz.level")
.doc("Compression level for the xz codec used in writing of AVRO files. " +
"Valid value must be in the range of from 1 to 9 inclusive " +
"The default value is 6.")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org