[regression](struct-type) add more regression tests for struct and map type (#16790)

This commit forbid struct and map column in Materialized view and add more regression tests.
This commit is contained in:
xy720
2023-02-18 20:42:17 +08:00
committed by GitHub
parent 45dbd4d872
commit 45427b86be
8 changed files with 160 additions and 13 deletions

View File

@ -1112,8 +1112,20 @@ public enum PrimitiveType {
return this == MAP;
}
public boolean isStructType() {
return this == STRUCT;
}
public boolean isComplexType() {
return this == HLL || this == BITMAP;
return this == ARRAY || this == MAP || this == STRUCT;
}
public boolean isHllType() {
return this == HLL;
}
public boolean isBitmapType() {
return this == BITMAP;
}
public boolean isVariantType() {