This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new e19909e11ed branch-4.0: [chore](proc) Fix wrong keys type in show proc
index schema #58201 (#58272)
e19909e11ed is described below
commit e19909e11edd092202ab65cca787f9d31ffe3035
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 24 20:05:00 2025 +0800
branch-4.0: [chore](proc) Fix wrong keys type in show proc index schema
#58201 (#58272)
Cherry-picked from #58201
Co-authored-by: xy720 <[email protected]>
---
.../src/main/java/org/apache/doris/common/proc/IndexInfoProcDir.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexInfoProcDir.java
b/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexInfoProcDir.java
index 8ed0b8d9717..51dd6d0dc1a 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexInfoProcDir.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexInfoProcDir.java
@@ -70,7 +70,7 @@ public class IndexInfoProcDir implements ProcDirInterface {
for (long indexId : indices) {
MaterializedIndexMeta indexMeta =
olapTable.getIndexIdToMeta().get(indexId);
- String type = olapTable.getKeysType().name();
+ String type =
olapTable.getIndexMetaByIndexId(indexId).getKeysType().name();
StringBuilder builder = new StringBuilder();
builder.append(type).append("(");
List<String> columnNames = Lists.newArrayList();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]