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.
2 parents ea7bd23 + 13aa67e commit 5a15b82Copy full SHA for 5a15b82
ydb/core/kqp/compile_service/kqp_compile_service.cpp
@@ -41,6 +41,9 @@ class TKqpQueryCache {
41
YQL_ENSURE(compileResult->PreparedQuery);
42
43
auto queryIt = QueryIndex.emplace(query, compileResult->Uid);
44
+ if (!queryIt.second) {
45
+ EraseByUid(compileResult->Uid);
46
+ }
47
Y_ENSURE(queryIt.second);
48
}
49
0 commit comments