ya-at 6 months ago
parent
commit
94836dd0d4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      ydb/public/lib/ydb_cli/common/csv_parser.cpp

+ 4 - 4
ydb/public/lib/ydb_cli/common/csv_parser.cpp

@@ -46,7 +46,7 @@ public:
             }
             return static_cast<T>(value);
         } catch (std::exception& e) {
-            throw TCsvParseException() << "Expected " << Parser.GetPrimitive() << " value, recieved: \"" << token << "\".";
+            throw TCsvParseException() << "Expected " << Parser.GetPrimitive() << " value, received: \"" << token << "\".";
         }
     }
 
@@ -276,7 +276,7 @@ public:
         if (token == "false") {
             return false;
         }
-        throw TCsvParseException() << "Expected bool value: \"true\" or \"false\", recieved: \"" << token << "\".";
+        throw TCsvParseException() << "Expected bool value: \"true\" or \"false\", received: \"" << token << "\".";
     }
 
     void EnsureNull(TStringBuf token) const {
@@ -284,7 +284,7 @@ public:
             throw TCsvParseException() << "Expected null value instead of \"" << token << "\", but null value is not set.";
         }
         if (token != NullValue) {
-            throw TCsvParseException() << "Expected null value: \"" << NullValue << "\", recieved: \"" << token << "\".";
+            throw TCsvParseException() << "Expected null value: \"" << NullValue << "\", received: \"" << token << "\".";
         }
     }
 
@@ -446,4 +446,4 @@ TType TCsvParser::GetColumnsType() const {
 }
 
 }
-}
+}