Skip to content

Commit 49c3781

Browse files
authored
Fix state usage in csv files upload (#19398)
1 parent 6e380d5 commit 49c3781

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ydb/apps/ydb/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Fixed bug with state working in commnads `ydb workload query import` and `ydb workload clickbench import files`.
12

23
## 2.22.0 ##
34

ydb/library/workload/benchmark_base/data_generator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class TWorkloadDataInitializerBase::TDataGenerator::TCsvFileBase: public TWorklo
130130
Path,
131131
TDataPortion::TCsv(std::move(data), Foramt),
132132
position,
133-
lines.size()
133+
readBytes
134134
);
135135
}
136136

0 commit comments

Comments
 (0)