[pick](Variant) truncate key when column is variant type when crea… (#40238)

#39988
This commit is contained in:
lihangyu
2024-09-02 13:54:04 +08:00
committed by GitHub
parent 5db2c8b8bc
commit 98e039ae31
2 changed files with 13 additions and 1 deletions

View File

@ -265,7 +265,7 @@ public class CreateMTMVInfo {
if (type.isFloatLikeType() || type.isStringType() || type.isJsonType()
|| catalogType.isComplexType() || type.isBitmapType() || type.isHllType()
|| type.isQuantileStateType() || type.isJsonType() || type.isStructType()
|| column.getAggType() != null) {
|| column.getAggType() != null || type.isVariantType()) {
break;
}
keys.add(column.getName());