Skip to content

Commit 718355d

Browse files
authored
Revert "YT block input fix for empty input" (#11624)
1 parent 1c441a9 commit 718355d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ydb/library/yql/providers/yt/codec/yt_codec_io.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,12 +1491,7 @@ class TArrowDecoder : public TMkqlReaderImpl::TDecoder {
14911491

14921492
bool ReadNext() {
14931493
if (!StreamReader_) {
1494-
// Deal with empty input
1495-
auto streamReaderResult = arrow::ipc::RecordBatchStreamReader::Open(InputStream_.get());
1496-
if (!streamReaderResult.ok() && InputStream_->EOSReached()) {
1497-
return false;
1498-
}
1499-
StreamReader_ = ARROW_RESULT(streamReaderResult);
1494+
StreamReader_ = ARROW_RESULT(arrow::ipc::RecordBatchStreamReader::Open(InputStream_.get()));
15001495

15011496
auto oldTableIndex = TableIndex_;
15021497
if (!IgnoreStreamTableIndex) {

0 commit comments

Comments
 (0)