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 3a57f3c commit 25529faCopy full SHA for 25529fa
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/MPPQueryContext.java
@@ -210,10 +210,19 @@ public void releaseMemoryForSchemaTree() {
210
}
211
212
public void prepareForRetry() {
213
+ if (!isSubquery()) {
214
+ cleanUpCte();
215
+ }
216
this.initResultNodeContext();
217
this.releaseAllMemoryReservedForFrontEnd();
218
219
220
+ private void cleanUpCte() {
221
+ cteQueries.clear();
222
+ cteExplainResults.clear();
223
+ cteMaterializationCosts.clear();
224
+ subQueryTables.clear();
225
226
private void initResultNodeContext() {
227
this.resultNodeContext = new ResultNodeContext(queryId);
228
0 commit comments