aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-10-28 11:18:43 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-10-28 11:32:01 +0300
commitc8be30cac94b3cf035a99c8881e6588ce0304787 (patch)
treed2ed3529d1ab8a7c2b72c7a652caefceb2d2ab40
parenta5f20dcca6b75ee20d0c0db3573674410b189f16 (diff)
downloadydb-c8be30cac94b3cf035a99c8881e6588ce0304787.tar.gz
Use lowercase Data, Empty and Size in some code-generations
[nodiff:caesar] commit_hash:13085d3e582f02071258318908bea6ef9c424fcb
-rw-r--r--yt/cpp/mapreduce/client/operation.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/yt/cpp/mapreduce/client/operation.cpp b/yt/cpp/mapreduce/client/operation.cpp
index a0d857d553..c94d54d56e 100644
--- a/yt/cpp/mapreduce/client/operation.cpp
+++ b/yt/cpp/mapreduce/client/operation.cpp
@@ -558,7 +558,7 @@ EOperationBriefState CheckOperation(
.Add(EOperationAttribute::Result)));
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(operationId).Data());
+ GetGuidAsString(operationId).data());
if (*attributes.BriefState == EOperationBriefState::Completed) {
return EOperationBriefState::Completed;
} else if (*attributes.BriefState == EOperationBriefState::Aborted || *attributes.BriefState == EOperationBriefState::Failed) {
@@ -2271,7 +2271,7 @@ public:
}
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(OperationImpl_->GetId()).Data());
+ GetGuidAsString(OperationImpl_->GetId()).data());
if (*attributes.BriefState != EOperationBriefState::InProgress) {
OperationImpl_->AsyncFinishOperation(attributes);
return PollBreak;
@@ -2440,7 +2440,7 @@ EOperationBriefState TOperation::TOperationImpl::GetBriefState()
UpdateAttributesAndCall(false, [&] (const TOperationAttributes& attributes) {
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(*Id_).Data());
+ GetGuidAsString(*Id_).data());
result = *attributes.BriefState;
});
return result;
@@ -2537,8 +2537,8 @@ void TOperation::TOperationImpl::OnStarted(const TOperationId& operationId)
auto guard = Guard(Lock_);
Y_ABORT_UNLESS(!Id_,
"OnStarted() called with operationId = %s for operation with id %s",
- GetGuidAsString(operationId).Data(),
- GetGuidAsString(*Id_).Data());
+ GetGuidAsString(operationId).data(),
+ GetGuidAsString(*Id_).data());
Id_ = operationId;
Y_ABORT_UNLESS(!StartedPromise_.HasValue() && !StartedPromise_.HasException());
@@ -2662,7 +2662,7 @@ void TOperation::TOperationImpl::SyncFinishOperationImpl(const TOperationAttribu
}
Y_ABORT_UNLESS(attributes.BriefState,
"get_operation for operation %s has not returned \"state\" field",
- GetGuidAsString(*Id_).Data());
+ GetGuidAsString(*Id_).data());
Y_ABORT_UNLESS(*attributes.BriefState != EOperationBriefState::InProgress);
{