marin-ma commented on code in PR #12592:
URL: https://github.com/apache/gluten/pull/12592#discussion_r4347212418
##########
cpp/velox/operators/reader/FileReaderIterator.h:
##########
@@ -46,4 +53,14 @@ class FileReaderIterator : public ColumnarBatchIterator {
std::string path_;
};
+// Replays an empty input marker as an input iterator that yields no batches.
+class EmptyInputMarkerIterator final : public FileReaderIterator {
+ public:
+ explicit EmptyInputMarkerIterator(const std::string& path) :
FileReaderIterator(path) {}
+
+ std::shared_ptr<ColumnarBatch> next() override {
+ return nullptr;
+ }
Review Comment:
@malinjawi Can you please address this comment?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]