aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhatsername <whatsername@yandex-team.com>2024-06-09 02:28:50 +0300
committerwhatsername <whatsername@yandex-team.com>2024-06-09 02:37:56 +0300
commit4c91bcc65ecc3d96bb9810537fb6dab7b29060f2 (patch)
tree2a414e860bd27e8212465e340bc7332e8540595f
parente474ee520d46d1e9b8167504aef173c08e2fa6f5 (diff)
downloadydb-4c91bcc65ecc3d96bb9810537fb6dab7b29060f2.tar.gz
Typo
17af2a622107a305322230de36bc691b425df6e0
-rw-r--r--yt/yt/client/table_client/schema.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt/yt/client/table_client/schema.cpp b/yt/yt/client/table_client/schema.cpp
index 1e3637fb0b..b2c9093b9b 100644
--- a/yt/yt/client/table_client/schema.cpp
+++ b/yt/yt/client/table_client/schema.cpp
@@ -1749,13 +1749,13 @@ void ValidateDynamicTableConstraints(const TTableSchema& schema)
for (const auto& column : schema.Columns()) {
try {
- auto logical_type = column.LogicalType();
+ auto logicalType = column.LogicalType();
if (column.SortOrder() && !column.IsOfV1Type() &&
- logical_type->GetMetatype() != ELogicalMetatype::List &&
- logical_type->GetMetatype() != ELogicalMetatype::Tuple)
+ logicalType->GetMetatype() != ELogicalMetatype::List &&
+ logicalType->GetMetatype() != ELogicalMetatype::Tuple)
{
THROW_ERROR_EXCEPTION("Dynamic table cannot have key column of type %Qv",
- *logical_type);
+ *logicalType);
}
} catch (const std::exception& ex) {
THROW_ERROR_EXCEPTION("Error validating column %v in dynamic table schema",