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

hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 15bce05a61 [GLUTEN-9691][VL]Fix driver core dump when broadcast too 
large when UnsafeColumnarBuildSideRelation enabled (#9692)
15bce05a61 is described below

commit 15bce05a615974b12d137a2046147468ef2a6a2b
Author: Terry Wang <[email protected]>
AuthorDate: Tue May 20 17:27:34 2025 +0800

    [GLUTEN-9691][VL]Fix driver core dump when broadcast too large when 
UnsafeColumnarBuildSideRelation enabled (#9692)
---
 .../org/apache/spark/sql/execution/unsafe/UnsafeBytesBufferArray.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/backends-velox/src/main/scala/org/apache/spark/sql/execution/unsafe/UnsafeBytesBufferArray.scala
 
b/backends-velox/src/main/scala/org/apache/spark/sql/execution/unsafe/UnsafeBytesBufferArray.scala
index 5aeb5feb52..c0427c4407 100644
--- 
a/backends-velox/src/main/scala/org/apache/spark/sql/execution/unsafe/UnsafeBytesBufferArray.scala
+++ 
b/backends-velox/src/main/scala/org/apache/spark/sql/execution/unsafe/UnsafeBytesBufferArray.scala
@@ -57,7 +57,7 @@ case class UnsafeBytesBufferArray(arraySize: Int, 
bytesBufferLengths: Array[Int]
   private val bytesBufferOffset = if (bytesBufferLengths.isEmpty) {
     new Array(0)
   } else {
-    bytesBufferLengths.init.scanLeft(0)(_ + _)
+    bytesBufferLengths.init.scanLeft(0L)(_ + _)
   }
 
   /**


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

Reply via email to