diff --git a/docs/sql-data-sources-avro.md b/docs/sql-data-sources-avro.md
index 82f876eae2c56..898afe9de87ff 100644
--- a/docs/sql-data-sources-avro.md
+++ b/docs/sql-data-sources-avro.md
@@ -330,7 +330,7 @@ Data source options of Avro can be set via:
## Configuration
-Configuration of Avro can be done using the `setConf` method on SparkSession or by running `SET key=value` commands using SQL.
+Configuration of Avro can be done via `spark.conf.set` or by running `SET key=value` commands using SQL.
-### Spliting skewed shuffle partitions
+### Splitting skewed shuffle partitions
| Property Name | Default | Meaning | Since Version |