Skip to content

Commit 94836dd

Browse files
authored
Fix typo (#7564)
1 parent 3acd725 commit 94836dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ydb/public/lib/ydb_cli/common/csv_parser.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class TCsvToYdbConverter {
4646
}
4747
return static_cast<T>(value);
4848
} catch (std::exception& e) {
49-
throw TCsvParseException() << "Expected " << Parser.GetPrimitive() << " value, recieved: \"" << token << "\".";
49+
throw TCsvParseException() << "Expected " << Parser.GetPrimitive() << " value, received: \"" << token << "\".";
5050
}
5151
}
5252

@@ -276,15 +276,15 @@ class TCsvToYdbConverter {
276276
if (token == "false") {
277277
return false;
278278
}
279-
throw TCsvParseException() << "Expected bool value: \"true\" or \"false\", recieved: \"" << token << "\".";
279+
throw TCsvParseException() << "Expected bool value: \"true\" or \"false\", received: \"" << token << "\".";
280280
}
281281

282282
void EnsureNull(TStringBuf token) const {
283283
if (!NullValue) {
284284
throw TCsvParseException() << "Expected null value instead of \"" << token << "\", but null value is not set.";
285285
}
286286
if (token != NullValue) {
287-
throw TCsvParseException() << "Expected null value: \"" << NullValue << "\", recieved: \"" << token << "\".";
287+
throw TCsvParseException() << "Expected null value: \"" << NullValue << "\", received: \"" << token << "\".";
288288
}
289289
}
290290

@@ -446,4 +446,4 @@ TType TCsvParser::GetColumnsType() const {
446446
}
447447

448448
}
449-
}
449+
}

0 commit comments

Comments
 (0)