aboutsummaryrefslogtreecommitdiffstats
path: root/yt
diff options
context:
space:
mode:
authoryuryalekseev <yuryalekseev@yandex-team.com>2025-01-09 19:51:56 +0300
committeryuryalekseev <yuryalekseev@yandex-team.com>2025-01-09 20:20:31 +0300
commit7740c9ef0cd954624d51f1fc8c8ff4426edcc9ab (patch)
tree6960a85641d518e1c28bebde653d81c212cfdc84 /yt
parent5b95a133cb44f9f6dd65110f057cc55b36f9a859 (diff)
downloadydb-7740c9ef0cd954624d51f1fc8c8ff4426edcc9ab.tar.gz
YT-23938: Prohibit null type in IsCGComparatorApplicable().
commit_hash:49523c81c33742bfb087e1df870e2c548960afe5
Diffstat (limited to 'yt')
-rw-r--r--yt/yt/client/table_client/schema.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/client/table_client/schema.cpp b/yt/yt/client/table_client/schema.cpp
index 7416c7462e..46cfbee1b2 100644
--- a/yt/yt/client/table_client/schema.cpp
+++ b/yt/yt/client/table_client/schema.cpp
@@ -812,7 +812,7 @@ bool TTableSchema::IsCGComparatorApplicable() const
auto keyTypes = GetKeyColumnTypes();
return std::none_of(keyTypes.begin(), keyTypes.end(), [] (auto type) {
- return type == EValueType::Any;
+ return type == EValueType::Any || type == EValueType::Null;
});
}