This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new ccae8ddac03 [fix](cache) fix show cache hotspot syntax error (#41519)
ccae8ddac03 is described below
commit ccae8ddac03a1a9c06098448d73efbe332f504bd
Author: Yongqiang YANG <[email protected]>
AuthorDate: Wed Oct 2 20:58:14 2024 +0800
[fix](cache) fix show cache hotspot syntax error (#41519)
---
.../src/main/java/org/apache/doris/analysis/ShowCacheHotSpotStmt.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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..cf978033d79 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,7 +153,7 @@ 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, "
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]