Skip to content

Commit 639b884

Browse files
committed
fix explain & explain analyze output
1 parent c30ea95 commit 639b884

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/MPPQueryContext.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
import java.util.Collections;
4848
import java.util.HashMap;
4949
import java.util.HashSet;
50+
import java.util.LinkedHashMap;
5051
import java.util.List;
5152
import java.util.Map;
5253
import java.util.Optional;
@@ -121,7 +122,7 @@ public class MPPQueryContext implements IAuditEntity {
121122
// Max line length of each CTE should be remembered because we need to standardize
122123
// the output format of main query and CTE query.
123124
private final Map<NodeRef<Table>, Pair<Integer, List<String>>> cteExplainResults =
124-
new HashMap<>();
125+
new LinkedHashMap<>();
125126
// Do not release CTE query result if it is a subquery.
126127
private boolean subquery = false;
127128

0 commit comments

Comments
 (0)