This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 f6bfe058be [Fix](information_schema) Schema table varchar len error
#21308
f6bfe058be is described below
commit f6bfe058be8aa54f759dc6b748ec962a1e991604
Author: Stalary <[email protected]>
AuthorDate: Wed Jul 19 00:50:01 2023 +0800
[Fix](information_schema) Schema table varchar len error #21308
---
fe/fe-core/src/main/java/org/apache/doris/catalog/SchemaTable.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/SchemaTable.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/SchemaTable.java
index 5237955c88..6de21cf7c6 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/SchemaTable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/SchemaTable.java
@@ -440,7 +440,7 @@ public class SchemaTable extends Table {
}
public Builder column(String name, ScalarType type) {
- columns.add(new Column(name, type.getPrimitiveType(), true));
+ columns.add(new Column(name, type, true));
return this;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]