You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2025/11/25 03:52:57 UTC
(doris) branch branch-3.1 updated: branch-3.1: [fix](proc) fix schema proc row data #57962 (#58015)
This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new e1a360f58e6 branch-3.1: [fix](proc) fix schema proc row data #57962 (#58015)
e1a360f58e6 is described below
commit e1a360f58e60f28414b6bdc2c0fbda4abc4f3615
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Tue Nov 25 11:52:51 2025 +0800
branch-3.1: [fix](proc) fix schema proc row data #57962 (#58015)
Cherry-picked from #57962
Co-authored-by: Lijia Liu <li...@yeah.net>
Co-authored-by: liutang123 <li...@gmail.com>
---
.../main/java/org/apache/doris/common/proc/IndexSchemaProcNode.java | 3 +--
.../java/org/apache/doris/common/proc/IndexSchemaProcNodeTest.java | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexSchemaProcNode.java b/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexSchemaProcNode.java
index 3630dac0c57..b32dd168ffc 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexSchemaProcNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/proc/IndexSchemaProcNode.java
@@ -85,7 +85,6 @@ public class IndexSchemaProcNode implements ProcNodeInterface {
extras.add(column.getExtraInfo());
}
String extraStr = StringUtils.join(extras, ",");
- String comment = column.getComment();
List<String> rowList = Lists.newArrayList(column.getDisplayName(),
column.getOriginType().hideVersionForVersionColumn(true),
@@ -93,7 +92,7 @@ public class IndexSchemaProcNode implements ProcNodeInterface {
((Boolean) column.isKey()).toString(),
column.getDefaultValue() == null
? FeConstants.null_string : column.getDefaultValue(),
- extraStr, comment);
+ extraStr);
for (String additionalColName : additionalColNames) {
switch (additionalColName.toLowerCase()) {
diff --git a/fe/fe-core/src/test/java/org/apache/doris/common/proc/IndexSchemaProcNodeTest.java b/fe/fe-core/src/test/java/org/apache/doris/common/proc/IndexSchemaProcNodeTest.java
index 1277ce4476a..ac8c8b65a7a 100644
--- a/fe/fe-core/src/test/java/org/apache/doris/common/proc/IndexSchemaProcNodeTest.java
+++ b/fe/fe-core/src/test/java/org/apache/doris/common/proc/IndexSchemaProcNodeTest.java
@@ -50,6 +50,8 @@ public class IndexSchemaProcNodeTest {
Assert.assertEquals(2, procResult.getRows().size());
Assert.assertTrue(procResult.getRows().get(1).contains(column2.getDisplayName()));
Assert.assertFalse(procResult.getRows().get(1).contains(column2.getName()));
+ Assert.assertEquals("The column size should be 6", 6, procResult.getColumnNames().size());
+ Assert.assertEquals("The row size should be 6", 6, procResult.getRows().get(1).size());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org