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

yumwang 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 9dae42b9739 [MINOR][DOCS][SQL] Fix typo in Doc for emptyDataset: 
change returns to since
9dae42b9739 is described below

commit 9dae42b9739f3871bc3b580cadc07596d11c51b8
Author: Jatin Sharma <33352338+jatin-code...@users.noreply.github.com>
AuthorDate: Sat Oct 1 08:37:36 2022 +0800

    [MINOR][DOCS][SQL] Fix typo in Doc for emptyDataset: change returns to since
    
    ### What changes were proposed in this pull request?
    
    Doc fix for emptyDataset: change returns to since.
    
    ### Why are the changes needed?
    
    Fix doc.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    N/A.
    
    Closes #38063 from jatin-code777/fix_doc_emptyDataset.
    
    Authored-by: Jatin Sharma <33352338+jatin-code...@users.noreply.github.com>
    Signed-off-by: Yuming Wang <yumw...@ebay.com>
---
 sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala 
b/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
index 4f5c89a796a..3d9f1679957 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala
@@ -294,7 +294,7 @@ class SparkSession private(
   /**
    * Creates a new [[Dataset]] of type T containing zero elements.
    *
-   * @return 2.0.0
+   * @since 2.0.0
    */
   def emptyDataset[T: Encoder]: Dataset[T] = {
     val encoder = implicitly[Encoder[T]]


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

Reply via email to