diff options
author | Artem Zuikov <chertus@gmail.com> | 2022-04-18 18:40:22 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-04-18 18:40:22 +0300 |
commit | 86304e375567b039455008cdc9b12cfc5f5c66de (patch) | |
tree | ef2392ae0a00c65a8687a3b2bbae27d2a3844aba | |
parent | 588fc4b8dc6cde4e910a512034844b3166341b6b (diff) | |
download | ydb-86304e375567b039455008cdc9b12cfc5f5c66de.tar.gz |
KIKIMR-14565: fix CSV load with --header option in cli (Cherry pick commit r9314037)
REVIEW: 2440283
x-ydb-stable-ref: e957a0d7c0ae05e85fc97b3d4890d73bb374770e
-rw-r--r-- | ydb/public/lib/ydb_cli/import/import.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/public/lib/ydb_cli/import/import.cpp b/ydb/public/lib/ydb_cli/import/import.cpp index 911aaf2719..e9960a21f8 100644 --- a/ydb/public/lib/ydb_cli/import/import.cpp +++ b/ydb/public/lib/ydb_cli/import/import.cpp @@ -122,6 +122,7 @@ TStatus TImportFileClient::UpsertCsv(const TString& dataFile, const TString& dbP headerRow += '\n'; buffer = headerRow; csvSettings.set_header(true); + special = true; } if (special) { |