This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 047fa26046e [fix](cache) fix show cache hotspot syntax error (#41519)
047fa26046e is described below
commit 047fa26046e6b38c6cf5cda02ff888366dd70ff0
Author: Yongqiang YANG <[email protected]>
AuthorDate: Thu Oct 10 11:26:48 2024 +0800
[fix](cache) fix show cache hotspot syntax error (#41519)
---
.../src/main/java/org/apache/doris/analysis/ShowCacheHotSpotStmt.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowCacheHotSpotStmt.java
b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowCacheHotSpotStmt.java
index 35234870a85..3fb242a89d2 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowCacheHotSpotStmt.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowCacheHotSpotStmt.java
@@ -153,10 +153,10 @@ public class ShowCacheHotSpotStmt extends ShowStmt
implements NotFallbackInParse
query = q1.append(q2);
} else if (metaDataPos == 2) {
query = new StringBuilder("select partition_id as PartitionId,
partition_name as PartitionName"
- + "FROM " + TABLE_NAME.toString()
+ + " FROM " + TABLE_NAME.toString()
+ " where " + whereExpr.get(0)
+ " and " + whereExpr.get(1)
- + "group by cluster_id, cluster_name, table_id, "
+ + " group by cluster_id, cluster_name, table_id, "
+ "table_name, partition_id, partition_name;");
}
Preconditions.checkState(query != null);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]