Skip to content

Commit 04d8e3a

Browse files
KyleLi1985HyukjinKwon
authored andcommitted
[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: 李亮 <liang.li.work@outlook.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 5ad0360 commit 04d8e3a

File tree

1 file changed

+1
-0
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql

1 file changed

+1
-0
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/Row.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ object Row {
5757
/**
5858
* Merge multiple rows into a single row, one after another.
5959
*/
60+
@deprecated("This method is deprecated and will be removed in future versions.", "3.0.0")
6061
def merge(rows: Row*): Row = {
6162
// TODO: Improve the performance of this if used in performance critical part.
6263
new GenericRow(rows.flatMap(_.toSeq).toArray)

0 commit comments

Comments
 (0)