aboutsummaryrefslogtreecommitdiffstats
path: root/yt/yql
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-02-24 18:38:30 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-02-24 18:38:30 +0000
commita674a8f6c0a31e5a5c3b28333d533ae31797ecaa (patch)
treed0743df9a014a294168c54e417a4565186a904ca /yt/yql
parent4b706240f28681a5580e79e1b333a695a628f719 (diff)
parent528c4caecb8037bbb191b114717af75bc26dbbea (diff)
downloadydb-a674a8f6c0a31e5a5c3b28333d533ae31797ecaa.tar.gz
Merge pull request #14964 from ydb-platform/merge-libs-250224-1527
Diffstat (limited to 'yt/yql')
-rw-r--r--yt/yql/providers/yt/codec/yt_codec_io.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/yt/yql/providers/yt/codec/yt_codec_io.cpp b/yt/yql/providers/yt/codec/yt_codec_io.cpp
index 459602d9cf..0bc03184aa 100644
--- a/yt/yql/providers/yt/codec/yt_codec_io.cpp
+++ b/yt/yql/providers/yt/codec/yt_codec_io.cpp
@@ -1752,6 +1752,9 @@ void TMkqlReaderImpl::Next() {
} catch (const TYqlPanic& e) {
ythrow TYqlPanic() << "Failed to read row, table index: " << Decoder_->TableIndex_ << ", row index: " <<
(Decoder_->RowIndex_.Defined() ? ToString(*Decoder_->RowIndex_) : "?") << "\n" << e.what();
+ } catch (const TMemoryLimitExceededException&) {
+ ythrow TYqlPanic() << "Failed to read row, table index: " << Decoder_->TableIndex_ << ", row index: " <<
+ (Decoder_->RowIndex_.Defined() ? ToString(*Decoder_->RowIndex_) : "?") << ". Memory limit exceeded in MKQL runtime";
} catch (const TTimeoutException&) {
throw;
} catch (const yexception& e) {