aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce
diff options
context:
space:
mode:
authorbabenko <babenko@yandex-team.com>2023-10-23 16:27:36 +0300
committerbabenko <babenko@yandex-team.com>2023-10-23 17:27:27 +0300
commit08405a23b9b6caeabe8d8e19f9d850b0fe4fe52e (patch)
treeb1e4e50d0c02d384f1d20be04c7235731504e257 /yt/cpp/mapreduce
parent646fa535280052a90a7bfee7769e93a53daa7bd0 (diff)
downloadydb-08405a23b9b6caeabe8d8e19f9d850b0fe4fe52e.tar.gz
YT-18571: Fix myriads of typos
Diffstat (limited to 'yt/cpp/mapreduce')
-rw-r--r--yt/cpp/mapreduce/client/structured_table_formats.cpp2
-rw-r--r--yt/cpp/mapreduce/interface/client_method_options.h6
-rw-r--r--yt/cpp/mapreduce/interface/common.h2
-rw-r--r--yt/cpp/mapreduce/interface/config.h2
-rw-r--r--yt/cpp/mapreduce/interface/io.h2
-rw-r--r--yt/cpp/mapreduce/interface/operation.h12
-rw-r--r--yt/cpp/mapreduce/interface/protobuf_table_schema_ut.proto2
-rw-r--r--yt/cpp/mapreduce/interface/tvm.h2
-rw-r--r--yt/cpp/mapreduce/raw_client/raw_requests.cpp2
9 files changed, 16 insertions, 16 deletions
diff --git a/yt/cpp/mapreduce/client/structured_table_formats.cpp b/yt/cpp/mapreduce/client/structured_table_formats.cpp
index f277a8dabe..b0038f7386 100644
--- a/yt/cpp/mapreduce/client/structured_table_formats.cpp
+++ b/yt/cpp/mapreduce/client/structured_table_formats.cpp
@@ -466,7 +466,7 @@ std::pair<TFormat, TMaybe<TSmallJobFile>> TFormatBuilder::CreateNodeFormat(
ythrow TApiUsageError()
<< "Cannot derive exact " << type << " type for intermediate " << direction << " table for job "
<< TJobFactory::Get()->GetJobName(&job)
- << "; use one of TMapReduceOperationSpec::Hint* methods to specifiy intermediate table structure";
+ << "; use one of TMapReduceOperationSpec::Hint* methods to specify intermediate table structure";
}
[[noreturn]] static void ThrowUnexpectedDifferentDescriptors(
diff --git a/yt/cpp/mapreduce/interface/client_method_options.h b/yt/cpp/mapreduce/interface/client_method_options.h
index f6e9e5791e..71b7332eca 100644
--- a/yt/cpp/mapreduce/interface/client_method_options.h
+++ b/yt/cpp/mapreduce/interface/client_method_options.h
@@ -449,7 +449,7 @@ struct TIOOptions
/// This is advanced option.
///
/// If `CreateTransaction` is set to `false` reader/writer doesn't create internal transaction
- /// and doesn't lock table. This option is overriden (effectively `false`) for writers by
+ /// and doesn't lock table. This option is overridden (effectively `false`) for writers by
/// @ref NYT::TTableWriterOptions::SingleHttpRequest
///
/// WARNING: if `CreateTransaction` is `false`, read/write might become non-atomic.
@@ -509,7 +509,7 @@ struct TWriterOptions
/// Data is accumulated in memory buffer so in case error occurs data could be resended.
///
/// If `RetryBlockSize` is not set buffer size is set to `DesiredChunkSize`.
- /// If niether `RetryBlockSize` nor `DesiredChunkSize` is set size of buffer is 64MB.
+ /// If neither `RetryBlockSize` nor `DesiredChunkSize` is set size of buffer is 64MB.
///
/// @note Written chunks cannot be larger than size of this memory buffer.
///
@@ -799,7 +799,7 @@ struct TLockOptions
///
/// If `Waitable' is set to true Lock method will create
/// waitable lock, that will be taken once other transactions
- /// that hold lock to that node are commited / aborted.
+ /// that hold lock to that node are committed / aborted.
///
/// @note Lock method DOES NOT wait until lock is actually acquired.
/// Waiting should be done using corresponding methods of ILock.
diff --git a/yt/cpp/mapreduce/interface/common.h b/yt/cpp/mapreduce/interface/common.h
index 6d0543b718..8358325a8d 100644
--- a/yt/cpp/mapreduce/interface/common.h
+++ b/yt/cpp/mapreduce/interface/common.h
@@ -1163,7 +1163,7 @@ TRichYPath MaybeWithSchema(const TRichYPath& path, const TSortColumns& sortBy =
/// - If path has associated range list and the list is not empty, function returns this list.
/// - If path has associated range list and this list is empty, exception is thrown.
///
-/// Before YT-17683 RichYPath didn't support empty range list and empty range actualy meant universal range.
+/// Before YT-17683 RichYPath didn't support empty range list and empty range actually meant universal range.
/// This function emulates this old behavior.
///
/// @see https://st.yandex-team.ru/YT-17683
diff --git a/yt/cpp/mapreduce/interface/config.h b/yt/cpp/mapreduce/interface/config.h
index f3f4cf2fe4..e0868b60b4 100644
--- a/yt/cpp/mapreduce/interface/config.h
+++ b/yt/cpp/mapreduce/interface/config.h
@@ -114,7 +114,7 @@ struct TConfig
//
// Infer schemas for nonexstent tables from typed rows (e.g. protobuf)
// when writing from operation or client writer.
- // This options can be overriden in TOperationOptions and TTableWriterOptions.
+ // This options can be overridden in TOperationOptions and TTableWriterOptions.
bool InferTableSchema;
bool UseClientProtobuf;
diff --git a/yt/cpp/mapreduce/interface/io.h b/yt/cpp/mapreduce/interface/io.h
index dbd3a2cb70..b601cf9a33 100644
--- a/yt/cpp/mapreduce/interface/io.h
+++ b/yt/cpp/mapreduce/interface/io.h
@@ -532,7 +532,7 @@ TTableReaderPtr<typename NDetail::TProtoOneOfUnique<Ts...>::TType> CreateProtoMu
const TTableReaderOptions& options = {});
///
-/// @brief Create a homogenous protobuf multi table reader from a stream.
+/// @brief Create a homogeneous protobuf multi table reader from a stream.
///
/// @tparam T Protobuf message type to read (must be inherited from `Message`).
///
diff --git a/yt/cpp/mapreduce/interface/operation.h b/yt/cpp/mapreduce/interface/operation.h
index 97d036180b..9220bbc692 100644
--- a/yt/cpp/mapreduce/interface/operation.h
+++ b/yt/cpp/mapreduce/interface/operation.h
@@ -322,7 +322,7 @@ struct TSimpleRawOperationIoSpec
/// @brief Describes format for both input and output.
///
- /// @note `Format' is overriden by `InputFormat' and `OutputFormat'.
+ /// @note `Format' is overridden by `InputFormat' and `OutputFormat'.
FLUENT_FIELD_OPTION(TFormat, Format);
/// Describes input format.
@@ -344,7 +344,7 @@ public:
/// @brief Describes format for both input and output of mapper.
///
- /// @note `MapperFormat' is overriden by `MapperInputFormat' and `MapperOutputFormat'.
+ /// @note `MapperFormat' is overridden by `MapperInputFormat' and `MapperOutputFormat'.
FLUENT_FIELD_OPTION(TFormat, MapperFormat);
/// Describes mapper input format.
@@ -355,7 +355,7 @@ public:
/// @brief Describes format for both input and output of reduce combiner.
///
- /// @note `ReduceCombinerFormat' is overriden by `ReduceCombinerInputFormat' and `ReduceCombinerOutputFormat'.
+ /// @note `ReduceCombinerFormat' is overridden by `ReduceCombinerInputFormat' and `ReduceCombinerOutputFormat'.
FLUENT_FIELD_OPTION(TFormat, ReduceCombinerFormat);
/// Describes reduce combiner input format.
@@ -366,7 +366,7 @@ public:
/// @brief Describes format for both input and output of reducer.
///
- /// @note `ReducerFormat' is overriden by `ReducerInputFormat' and `ReducerOutputFormat'.
+ /// @note `ReducerFormat' is overridden by `ReducerInputFormat' and `ReducerOutputFormat'.
FLUENT_FIELD_OPTION(TFormat, ReducerFormat);
/// Describes reducer input format.
@@ -703,7 +703,7 @@ struct TJobProfilerSpec
/// @brief Type of the profiler.
FLUENT_FIELD_OPTION(EProfilerType, ProfilerType);
- /// @brief Probabiliy of the job being selected for profiling.
+ /// @brief Probability of the job being selected for profiling.
FLUENT_FIELD_OPTION(double, ProfilingProbability);
/// @brief For sampling profilers, sets the number of samples per second.
@@ -2001,7 +2001,7 @@ public:
///
/// @brief This methods are called when creating table reader and writer for the job.
///
- /// Override them if you want to implement custom input logic. (e.g. addtitional bufferization)
+ /// Override them if you want to implement custom input logic. (e.g. additional bufferization)
virtual TRawTableReaderPtr CreateCustomRawJobReader(int fd) const;
virtual THolder<IProxyOutput> CreateCustomRawJobWriter(size_t outputTableCount) const;
diff --git a/yt/cpp/mapreduce/interface/protobuf_table_schema_ut.proto b/yt/cpp/mapreduce/interface/protobuf_table_schema_ut.proto
index 60bad6e650..da1e48f691 100644
--- a/yt/cpp/mapreduce/interface/protobuf_table_schema_ut.proto
+++ b/yt/cpp/mapreduce/interface/protobuf_table_schema_ut.proto
@@ -390,7 +390,7 @@ message TEmbedded1Message {
string str_variant = 101;
uint64 uint_variant = 102;
}
- optional uint64 embedded_num = 10; // make intensional field_num collision!
+ optional uint64 embedded_num = 10; // make intentional field_num collision!
optional string embedded_extra_field = 11;
}
diff --git a/yt/cpp/mapreduce/interface/tvm.h b/yt/cpp/mapreduce/interface/tvm.h
index d8d16d841b..e1134e3c6e 100644
--- a/yt/cpp/mapreduce/interface/tvm.h
+++ b/yt/cpp/mapreduce/interface/tvm.h
@@ -10,7 +10,7 @@ namespace NYT::NAuth {
/// This wrapper is required because NYT::NAuth::IServiceTicketAuthPtr is NYT::TIntrusivePtr,
/// and, if we used this pointer in interfaces of `mapreduce/yt` client, a lot of users of this library
-/// could get unexpected build errors that `TIntrusivePtr` is ambigious
+/// could get unexpected build errors that `TIntrusivePtr` is ambiguous
/// (from `::` namespace and from `::NYT::` namespace).
/// So we use this wrapper in our interfaces to avoid such problems for users.
struct IServiceTicketAuthPtrWrapper
diff --git a/yt/cpp/mapreduce/raw_client/raw_requests.cpp b/yt/cpp/mapreduce/raw_client/raw_requests.cpp
index 4a7304572b..a1bcf5989b 100644
--- a/yt/cpp/mapreduce/raw_client/raw_requests.cpp
+++ b/yt/cpp/mapreduce/raw_client/raw_requests.cpp
@@ -306,7 +306,7 @@ TOperationAttributes ParseOperationAttributes(const TNode& node)
if (auto typeNode = mapNode.FindPtr("type")) {
result.Type = FromString<EOperationType>(typeNode->AsString());
} else if (auto operationTypeNode = mapNode.FindPtr("operation_type")) {
- // COMPAT(levysotsky): "operation_type" is a deprecated synonim for "type".
+ // COMPAT(levysotsky): "operation_type" is a deprecated synonym for "type".
// This branch should be removed when all clusters are updated.
result.Type = FromString<EOperationType>(operationTypeNode->AsString());
}