aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraidarsamer <aidarsamer@ydb.tech>2022-08-31 15:12:45 +0300
committeraidarsamer <aidarsamer@ydb.tech>2022-08-31 15:12:45 +0300
commitecb36ac525bd83022c9942e363ac8789ab043ee3 (patch)
tree2bd08987e912bf64ca4c4b3f02836bda5beb8269
parent961de25ecd14000a9ad77192955a59ba57b0d451 (diff)
downloadydb-ecb36ac525bd83022c9942e363ac8789ab043ee3.tar.gz
Calculate number of output columns based on Representations
calculate number of output columns based on Representations
-rw-r--r--ydb/core/kqp/runtime/kqp_read_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/kqp/runtime/kqp_read_table.cpp b/ydb/core/kqp/runtime/kqp_read_table.cpp
index 8c0a2e82f7..efbfb2a808 100644
--- a/ydb/core/kqp/runtime/kqp_read_table.cpp
+++ b/ydb/core/kqp/runtime/kqp_read_table.cpp
@@ -236,7 +236,7 @@ public:
#ifndef MKQL_DISABLE_CODEGEN
ICodegeneratorInlineWideNode::TGenerateResult DoGenGetValues(const TCodegenContext& ctx, BasicBlock*& block) const {
auto& context = ctx.Codegen->GetContext();
- const auto size = GetAllColumnsSize();
+ const auto size = Representations.size();
Row.resize(size);