This is an automated email from the ASF dual-hosted git repository.

maxgekk 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 f0f850dc21ec [SPARK-50787][DOCS] Fix typos and add missing semicolons 
in sql examples
f0f850dc21ec is described below

commit f0f850dc21ecf928995736daf8b790082e099221
Author: Sakthi <[email protected]>
AuthorDate: Sat Jan 11 13:42:23 2025 +0500

    [SPARK-50787][DOCS] Fix typos and add missing semicolons in sql examples
    
    ### What changes were proposed in this pull request?
    - Corrected documentation typos
    - Added missing semicolons in SQL examples
    
    ### Why are the changes needed?
    To correct documentation typos and fix SQL syntax examples for clarity.
    
    ### Does this PR introduce _any_ user-facing change?
    Yes, it updates documentation with corrections to typos and SQL examples.
    
    ### How was this patch tested?
    Manually, by building and reviewing the updated documentation.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No.
    
    Closes #49448 from the-sakthi/fix-docs.
    
    Authored-by: Sakthi <[email protected]>
    Signed-off-by: Max Gekk <[email protected]>
---
 docs/configuration.md                            | 2 +-
 docs/running-on-kubernetes.md                    | 2 +-
 docs/sql-ref-syntax-aux-resource-mgmt-add-jar.md | 6 +++---
 docs/sql-ref-syntax-ddl-alter-table.md           | 4 ++--
 docs/sql-ref-syntax-qry-star.md                  | 6 +++---
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/configuration.md b/docs/configuration.md
index 4a85c4f256a9..f080a7958068 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -2850,7 +2850,7 @@ Apart from these, the following properties are also 
available, and may be useful
     If set to "true", prevent Spark from scheduling tasks on executors that 
have been excluded
     due to too many task failures. The algorithm used to exclude executors and 
nodes can be further
     controlled by the other "spark.excludeOnFailure" configuration options.
-    This config will be overriden by 
"spark.excludeOnFailure.application.enabled" and 
+    This config will be overridden by 
"spark.excludeOnFailure.application.enabled" and
     "spark.excludeOnFailure.taskAndStage.enabled" to specify exclusion 
enablement on individual
     levels.
   </td>
diff --git a/docs/running-on-kubernetes.md b/docs/running-on-kubernetes.md
index a0c73813612d..c7f5d67a6cd8 100644
--- a/docs/running-on-kubernetes.md
+++ b/docs/running-on-kubernetes.md
@@ -394,7 +394,7 @@ 
spark.kubernetes.executor.volumes.persistentVolumeClaim.spark-local-dir-1.mount.
 
spark.kubernetes.executor.volumes.persistentVolumeClaim.spark-local-dir-1.mount.readOnly=false
 ```
 
-To enable shuffle data recovery feature via the built-in 
`KubernetesLocalDiskShuffleDataIO` plugin, we need to have the followings. You 
may want to enable `spark.kubernetes.driver.waitToReusePersistentVolumeClaim` 
additionally.
+To enable shuffle data recovery feature via the built-in 
`KubernetesLocalDiskShuffleDataIO` plugin, we need to have the following. You 
may want to enable `spark.kubernetes.driver.waitToReusePersistentVolumeClaim` 
additionally.
 
 ```
 
spark.kubernetes.executor.volumes.persistentVolumeClaim.spark-local-dir-1.mount.path=/data/spark-x/executor-x
diff --git a/docs/sql-ref-syntax-aux-resource-mgmt-add-jar.md 
b/docs/sql-ref-syntax-aux-resource-mgmt-add-jar.md
index 7ad56bf0657b..9a50db992f9c 100644
--- a/docs/sql-ref-syntax-aux-resource-mgmt-add-jar.md
+++ b/docs/sql-ref-syntax-aux-resource-mgmt-add-jar.md
@@ -54,9 +54,9 @@ ADD JAR '/some/other.jar';
 ADD JAR "/path with space/abc.jar";
 ADD JARS "/path with space/def.jar" '/path with space/ghi.jar';
 ADD JAR "ivy://group:module:version";
-ADD JAR "ivy://group:module:version?transitive=false"
-ADD JAR "ivy://group:module:version?transitive=true"
-ADD JAR "ivy://group:module:version?exclude=group:module&transitive=true"
+ADD JAR "ivy://group:module:version?transitive=false";
+ADD JAR "ivy://group:module:version?transitive=true";
+ADD JAR "ivy://group:module:version?exclude=group:module&transitive=true";
 ```
 
 ### Related Statements
diff --git a/docs/sql-ref-syntax-ddl-alter-table.md 
b/docs/sql-ref-syntax-ddl-alter-table.md
index adcfa8db06f1..28ecc44a5bf7 100644
--- a/docs/sql-ref-syntax-ddl-alter-table.md
+++ b/docs/sql-ref-syntax-ddl-alter-table.md
@@ -673,12 +673,12 @@ ALTER TABLE loc_orc SET fileformat orc;
 ALTER TABLE p1 partition (month=2, day=2) SET fileformat parquet;
 
 -- Change the file Location
-ALTER TABLE dbx.tab1 PARTITION (a='1', b='2') SET LOCATION '/path/to/part/ways'
+ALTER TABLE dbx.tab1 PARTITION (a='1', b='2') SET LOCATION 
'/path/to/part/ways';
 
 -- SET SERDE/ SERDE Properties
 ALTER TABLE test_tab SET SERDE 
'org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe';
 
-ALTER TABLE dbx.tab1 SET SERDE 'org.apache.hadoop' WITH SERDEPROPERTIES ('k' = 
'v', 'kay' = 'vee')
+ALTER TABLE dbx.tab1 SET SERDE 'org.apache.hadoop' WITH SERDEPROPERTIES ('k' = 
'v', 'kay' = 'vee');
 
 -- SET TABLE PROPERTIES
 ALTER TABLE dbx.tab1 SET TBLPROPERTIES ('winner' = 'loser');
diff --git a/docs/sql-ref-syntax-qry-star.md b/docs/sql-ref-syntax-qry-star.md
index 3a997dad644b..c575727e820e 100644
--- a/docs/sql-ref-syntax-qry-star.md
+++ b/docs/sql-ref-syntax-qry-star.md
@@ -21,7 +21,7 @@ license: |
 
 ### Description
 
-A shorthand to name all the referencable columns in the FROM clause or a 
specific table reference's columns or fields in the FROM clause.
+A shorthand to name all the referenceable columns in the FROM clause or a 
specific table reference's columns or fields in the FROM clause.
 The star clause is most frequently used in the SELECT list.
 Spark also supports its use in function invocation and certain n-ary 
operations within the SELECT list and WHERE clause.
 
@@ -38,11 +38,11 @@ except_clause
 
 * **name**
 
-  If present limits the columns or fields to be named to those in the 
specified referencable field, column, or table.
+  If present limits the columns or fields to be named to those in the 
specified referenceable field, column, or table.
 
 * **except_clause**
 
-  Optionally prunes columns or fields from the referencable set of columns 
identified in the select_star clause.
+  Optionally prunes columns or fields from the referenceable set of columns 
identified in the select_star clause.
 
   * **column_name**
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to