Skip to content

Commit 90481bb

Browse files
committed
fix .Empty (uppercase)
1 parent b16068a commit 90481bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/library/yql/providers/yt/gateway/native/yql_yt_transform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ void TGatewayTransformer::ApplyUserJobSpec(NYT::TUserJobSpec& spec, bool localRu
449449
auto udfFiles = std::move(*DeferredUdfFiles_);
450450
TTransactionCache::TEntry::TPtr entry = GetEntry();
451451
for (auto& file: udfFiles) {
452-
YQL_ENSURE(!file.second.Hash.Empty());
452+
YQL_ENSURE(!file.second.Hash.empty());
453453
if (auto snapshot = entry->GetBinarySnapshotFromCache(binCacheFolder, file.second.Hash, file.first)) {
454454
spec.AddFile(TRichYPath(snapshot->first).TransactionId(snapshot->second)
455455
.FileName(TFsPath(file.first)
@@ -477,7 +477,7 @@ void TGatewayTransformer::ApplyUserJobSpec(NYT::TUserJobSpec& spec, bool localRu
477477
auto entry = GetEntry();
478478
for (auto& file: *DeferredUdfFiles_) {
479479
YQL_ENSURE(TFileStat(file.first).Size != 0);
480-
YQL_ENSURE(!file.second.Hash.Empty());
480+
YQL_ENSURE(!file.second.Hash.empty());
481481
auto snapshot = entry->GetBinarySnapshot(binTmpFolder, file.second.Hash, file.first, binExpiration);
482482
spec.AddFile(TRichYPath(snapshot.first).TransactionId(snapshot.second).FileName(TFsPath(file.first).GetName()).Executable(true).BypassArtifactCache(file.second.BypassArtifactCache));
483483
}

0 commit comments

Comments
 (0)