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

gurwls223 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 2554e4716f16 [SPARK-48227][PYTHON][DOC][FOLLOWUP] Fix two typos
2554e4716f16 is described below

commit 2554e4716f1693c7f35bdf6bd4f1671c25e0cfe9
Author: Ruifeng Zheng <ruife...@apache.org>
AuthorDate: Mon May 13 18:31:06 2024 +0900

    [SPARK-48227][PYTHON][DOC][FOLLOWUP] Fix two typos
    
    ### What changes were proposed in this pull request?
    Fix two typos
    
    Closes #46554 from zhengruifeng/fix_typos.
    
    Authored-by: Ruifeng Zheng <ruife...@apache.org>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 .../connect/common/src/main/protobuf/spark/connect/relations.proto    | 4 ++--
 python/pyspark/sql/connect/proto/relations_pb2.pyi                    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/connector/connect/common/src/main/protobuf/spark/connect/relations.proto 
b/connector/connect/common/src/main/protobuf/spark/connect/relations.proto
index 0b3c9d4253e8..0c4ca6290a76 100644
--- a/connector/connect/common/src/main/protobuf/spark/connect/relations.proto
+++ b/connector/connect/common/src/main/protobuf/spark/connect/relations.proto
@@ -468,7 +468,7 @@ message Sample {
   optional bool with_replacement = 4;
 
   // (Required) The random seed.
-  // This filed is required to avoid generate mutable dataframes (see 
SPARK-48184 for details),
+  // This field is required to avoid generating mutable dataframes (see 
SPARK-48184 for details),
   // however, still keep it 'optional' here for backward compatibility.
   optional int64 seed = 5;
 
@@ -690,7 +690,7 @@ message StatSampleBy {
   repeated Fraction fractions = 3;
 
   // (Required) The random seed.
-  // This filed is required to avoid generate mutable dataframes (see 
SPARK-48184 for details),
+  // This field is required to avoid generating mutable dataframes (see 
SPARK-48184 for details),
   // however, still keep it 'optional' here for backward compatibility.
   optional int64 seed = 5;
 
diff --git a/python/pyspark/sql/connect/proto/relations_pb2.pyi 
b/python/pyspark/sql/connect/proto/relations_pb2.pyi
index 9b6f4b43544f..819b5d717c52 100644
--- a/python/pyspark/sql/connect/proto/relations_pb2.pyi
+++ b/python/pyspark/sql/connect/proto/relations_pb2.pyi
@@ -1866,7 +1866,7 @@ class Sample(google.protobuf.message.Message):
     """(Optional) Whether to sample with replacement."""
     seed: builtins.int
     """(Required) The random seed.
-    This filed is required to avoid generate mutable dataframes (see 
SPARK-48184 for details),
+    This field is required to avoid generating mutable dataframes (see 
SPARK-48184 for details),
     however, still keep it 'optional' here for backward compatibility.
     """
     deterministic_order: builtins.bool
@@ -2549,7 +2549,7 @@ class StatSampleBy(google.protobuf.message.Message):
         """
     seed: builtins.int
     """(Required) The random seed.
-    This filed is required to avoid generate mutable dataframes (see 
SPARK-48184 for details),
+    This field is required to avoid generating mutable dataframes (see 
SPARK-48184 for details),
     however, still keep it 'optional' here for backward compatibility.
     """
     def __init__(


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to