We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef0097c commit 4af0266Copy full SHA for 4af0266
ydb/core/tx/columnshard/engines/scheme/schema_diff.cpp
@@ -163,7 +163,9 @@ NKikimrSchemeOp::TColumnTableSchema TSchemaDiffView::ApplyDiff(const NKikimrSche
163
*result.AddIndexes() = *itSchema;
164
++itSchema;
165
} else if (itSchema == schema.GetIndexes().end()) {
166
- *result.AddIndexes() = *itDiff->second;
+ if (itDiff->second) {
167
+ *result.AddIndexes() = *itDiff->second;
168
+ }
169
++itDiff;
170
} else if (itSchema->GetId() < itDiff->first) {
171
0 commit comments