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 18f73292c19 [fix](merge-cloud) support ip/variant type in cloud mode
(#31283)
18f73292c19 is described below
commit 18f73292c199948a34694dca6bf51fbbd588e717
Author: Luwei <[email protected]>
AuthorDate: Fri Feb 23 09:28:49 2024 +0800
[fix](merge-cloud) support ip/variant type in cloud mode (#31283)
---
fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
index fe0598bd2ba..6ef74558a35 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java
@@ -686,12 +686,20 @@ public class Column implements Writable,
GsonPostProcessable {
return 8;
case DECIMAL128I:
return 16;
+ case DECIMAL256:
+ return 32;
case DECIMALV2:
return 12; // use 12 bytes in olap engine.
case STRUCT:
return 65535;
case MAP:
return 65535;
+ case IPV4:
+ return 4;
+ case IPV6:
+ return 16;
+ case VARIANT:
+ return stringLength + 4; // sizeof(OLAP_STRING_MAX_LENGTH)
default:
LOG.warn("unknown field type. [type= << {} << ]", type);
throw new DdlException("unknown field type. type: " + type);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]