aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgvit <gvit@ydb.tech>2023-01-13 15:54:48 +0300
committergvit <gvit@ydb.tech>2023-01-13 15:54:48 +0300
commit42ccd4f178dcbeec66bf9aba54383f9465ab6838 (patch)
tree739b9a2dba68be4407ad205ec76c0c560e6a5b16
parente561f72d1597d6d2186e70ca00337e30192e77e1 (diff)
downloadydb-42ccd4f178dcbeec66bf9aba54383f9465ab6838.tar.gz
fix stats calculation in test
-rw-r--r--ydb/core/kqp/executer_actor/kqp_executer_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/kqp/executer_actor/kqp_executer_impl.cpp b/ydb/core/kqp/executer_actor/kqp_executer_impl.cpp
index 38f3fed881..1b0fa00b10 100644
--- a/ydb/core/kqp/executer_actor/kqp_executer_impl.cpp
+++ b/ydb/core/kqp/executer_actor/kqp_executer_impl.cpp
@@ -25,8 +25,8 @@ void TEvKqpExecuter::TEvTxResponse::InitTxResult(const TKqpPhyTxHolder::TConstPt
void TEvKqpExecuter::TEvTxResponse::TakeResult(ui32 idx, const NYql::NDqProto::TData& rows) {
YQL_ENSURE(idx < TxResults.size());
- ResultRowsCount += rows.GetRaw().size();
- ResultRowsBytes += rows.GetRows();
+ ResultRowsCount += rows.GetRows();
+ ResultRowsBytes += rows.GetRaw().size();
auto guard = AllocState->TypeEnv.BindAllocator();
auto& result = TxResults[idx];
if (rows.GetRows() || !result.IsStream) {