aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoloshmet <koloshmet@yandex-team.com>2025-03-05 04:54:52 +0300
committerkoloshmet <koloshmet@yandex-team.com>2025-03-05 05:12:24 +0300
commit598babc9ee522f31f07056b2f29d49a21c64d42c (patch)
treed808eec2bbe784fe8207b20cb33f6d9720d7a59e
parent79e01d6743a3c5010e9243d0ae00b6de719849e3 (diff)
downloadydb-598babc9ee522f31f07056b2f29d49a21c64d42c.tar.gz
YT-23544: Virtual singlecell map with remote items
Virtual singlecell map with remote items commit_hash:e63b19c3ef9495848f64c89549b1583253ad3027
-rw-r--r--yt/yt/core/ytree/virtual.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/ytree/virtual.cpp b/yt/yt/core/ytree/virtual.cpp
index f03f16b407..b15093c046 100644
--- a/yt/yt/core/ytree/virtual.cpp
+++ b/yt/yt/core/ytree/virtual.cpp
@@ -200,7 +200,7 @@ void TVirtualMapBase::GetSelf(
EYsonType::MapFragment,
std::ssize(keys),
[&] (std::pair<i64, i64> keyIndexRange, const TAsyncYsonWriterPtr& writer) {
- if (attributeFilter) {
+ if (attributeFilter && !attributeFilter.IsEmpty()) {
for (i64 index = keyIndexRange.first; index < keyIndexRange.second; ++index) {
const auto& key = keys[index];
if (auto service = FindItemService(key)) {
@@ -278,7 +278,7 @@ void TVirtualMapBase::ListSelf(
EYsonType::MapFragment,
std::ssize(keys),
[&] (auto keyIndexRange, const TAsyncYsonWriterPtr& writer) {
- if (attributeFilter) {
+ if (attributeFilter && !attributeFilter.IsEmpty()) {
for (i64 index = keyIndexRange.first; index < keyIndexRange.second; ++index) {
const auto& key = keys[index];
if (auto service = FindItemService(key)) {