morningman commented on code in PR #12082:
URL: https://github.com/apache/doris/pull/12082#discussion_r955064388


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/HashDistributionDesc.java:
##########
@@ -80,6 +80,9 @@ public void analyze(Set<String> colSet, List<ColumnDef> 
columnDefs) throws Analy
                     if 
(columnDef.getType().isScalarType(PrimitiveType.STRING)) {
                         throw new AnalysisException("String Type should not be 
used in distribution column["
                                 + columnDef.getName() + "].");
+                    } else if (columnDef.getType().isArrayType()) {

Review Comment:
   Maybe we should move all these checks to `toDistributionInfo()` ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to