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 04d8e3a  [SPARK-26318][SQL] Deprecate Row.merge
04d8e3a is described below

commit 04d8e3a33c6bb08b2891ca52613cd5ccd24a69dd
Author: 李亮 <[email protected]>
AuthorDate: Thu Dec 20 13:22:12 2018 +0800

    [SPARK-26318][SQL] Deprecate Row.merge
    
    ## What changes were proposed in this pull request?
    Deprecate Row.merge
    
    ## How was this patch tested?
    N/A
    
    Closes #23271 from KyleLi1985/master.
    
    Authored-by: 李亮 <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala | 1 +
 1 file changed, 1 insertion(+)

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 e12bf96..4f5af9a 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
@@ -57,6 +57,7 @@ object Row {
   /**
    * Merge multiple rows into a single row, one after another.
    */
+  @deprecated("This method is deprecated and will be removed in future 
versions.", "3.0.0")
   def merge(rows: Row*): Row = {
     // TODO: Improve the performance of this if used in performance critical 
part.
     new GenericRow(rows.flatMap(_.toSeq).toArray)


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

Reply via email to