This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new bbf61dd48a [spark] Correct the assignment of null to currentResult in
PaimonRecordReaderIterator#close (#7066)
bbf61dd48a is described below
commit bbf61dd48ae55ed66f3ade668905bf3a1efbc1c8
Author: YangJie <[email protected]>
AuthorDate: Fri Jan 16 22:39:56 2026 +0800
[spark] Correct the assignment of null to currentResult in
PaimonRecordReaderIterator#close (#7066)
---
.../main/scala/org/apache/paimon/spark/PaimonRecordReaderIterator.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonRecordReaderIterator.scala
b/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonRecordReaderIterator.scala
index 16a05287ac..74f38ca664 100644
---
a/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonRecordReaderIterator.scala
+++
b/paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonRecordReaderIterator.scala
@@ -81,7 +81,7 @@ case class PaimonRecordReaderIterator(
try {
if (currentIterator != null) {
currentIterator.releaseBatch()
- currentResult == null
+ currentResult = null
}
} finally {
reader.close()