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

marong 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 63ce5cc211 [MINOR][VL] Fix throw-new anti-pattern in 
FileReaderIterator.cc (#11620)
63ce5cc211 is described below

commit 63ce5cc21124c60606f42f55d75963ea6f19883b
Author: Ankita Victor <[email protected]>
AuthorDate: Mon Feb 16 15:39:11 2026 +0530

    [MINOR][VL] Fix throw-new anti-pattern in FileReaderIterator.cc (#11620)
---
 cpp/velox/operators/reader/FileReaderIterator.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/velox/operators/reader/FileReaderIterator.cc 
b/cpp/velox/operators/reader/FileReaderIterator.cc
index 9e14a760c4..9528763fbc 100644
--- a/cpp/velox/operators/reader/FileReaderIterator.cc
+++ b/cpp/velox/operators/reader/FileReaderIterator.cc
@@ -41,7 +41,7 @@ std::shared_ptr<gluten::ResultIterator> 
FileReaderIterator::getInputIteratorFrom
           std::make_unique<ParquetBufferedReaderIterator>(path, batchSize, 
pool));
     }
   }
-  throw new GlutenException("Unreachable.");
+  throw GlutenException("Unreachable.");
 }
 
 } // namespace gluten


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

Reply via email to