diff options
author | uzhas <uzhas@ydb.tech> | 2022-10-17 12:50:56 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2022-10-17 12:50:56 +0300 |
commit | 1b03eae757aa6e77a470602993e20122e9973141 (patch) | |
tree | 1eea16dd4e2f51a1865376e49f5f0752629caf00 | |
parent | 3c990a8ee09cc331527ba696c900e5a7f26d84d3 (diff) | |
download | ydb-1b03eae757aa6e77a470602993e20122e9973141.tar.gz |
fix use after move, CID 47541
-rw-r--r-- | ydb/library/yql/udfs/common/clickhouse/client/src/Columns/ColumnArray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/udfs/common/clickhouse/client/src/Columns/ColumnArray.cpp b/ydb/library/yql/udfs/common/clickhouse/client/src/Columns/ColumnArray.cpp index b330046fa55..116c581a73b 100644 --- a/ydb/library/yql/udfs/common/clickhouse/client/src/Columns/ColumnArray.cpp +++ b/ydb/library/yql/udfs/common/clickhouse/client/src/Columns/ColumnArray.cpp @@ -59,7 +59,7 @@ ColumnArray::ColumnArray(MutableColumnPtr && nested_column, MutableColumnPtr && Offset last_offset = offsets_concrete->getData().back(); /// This will also prevent possible overflow in offset. - if (nested_column->size() != last_offset) + if (data->size() != last_offset) throw Exception("offsets_column has data inconsistent with nested_column", ErrorCodes::LOGICAL_ERROR); } |