Skip to content

Commit 3a6411f

Browse files
authored
[KQP] fix column statistics requester non exist column bug (#11277)
1 parent 965f473 commit 3a6411f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/kqp/opt/kqp_column_statistics_requester.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ IGraphTransformer::TStatus TKqpColumnStatisticsRequester::DoTransform(TExprNode:
9393
continue;
9494
}
9595

96-
if (!columns.contains(column)) {
96+
if (!columnsMeta.contains(column)) {
9797
YQL_CLOG(DEBUG, ProviderKikimr) << "Table: " + table + " doesn't contain " + column + " to request for column statistics";
98+
continue;
9899
}
99100

100101
NKikimr::NStat::TRequest req;

0 commit comments

Comments
 (0)