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

gurwls223 pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new d7e1746  [MINOR][SQL] Add missing documentation for LongType mapping
d7e1746 is described below

commit d7e1746092d643728c81475f60d543cae0e0192c
Author: Yesheng Ma <kimi.y...@gmail.com>
AuthorDate: Tue Aug 25 11:20:01 2020 +0900

    [MINOR][SQL] Add missing documentation for LongType mapping
    
    ### What changes were proposed in this pull request?
    
    Added Java docs for Long data types in the Row class.
    
    ### Why are the changes needed?
    
    The Long datatype is somehow missing in Row.scala's `apply` and `get` 
methods.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    Existing UTs.
    
    Closes #29534 from yeshengm/docs-fix.
    
    Authored-by: Yesheng Ma <kimi.y...@gmail.com>
    Signed-off-by: HyukjinKwon <gurwls...@apache.org>
    (cherry picked from commit 3eee915b474c58cff9ea108f67073ed9c0c86224)
    Signed-off-by: HyukjinKwon <gurwls...@apache.org>
---
 sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
index 180c2d1..d01b1ed 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala
@@ -146,6 +146,7 @@ trait Row extends Serializable {
    *   ByteType -> java.lang.Byte
    *   ShortType -> java.lang.Short
    *   IntegerType -> java.lang.Integer
+   *   LongType -> java.lang.Long
    *   FloatType -> java.lang.Float
    *   DoubleType -> java.lang.Double
    *   StringType -> String
@@ -171,6 +172,7 @@ trait Row extends Serializable {
    *   ByteType -> java.lang.Byte
    *   ShortType -> java.lang.Short
    *   IntegerType -> java.lang.Integer
+   *   LongType -> java.lang.Long
    *   FloatType -> java.lang.Float
    *   DoubleType -> java.lang.Double
    *   StringType -> String


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

Reply via email to