[fix](schemachange) Fixed the issue of incorrect log information when distribution columns are compared inconsistently (#27013)

This commit is contained in:
gnehil
2024-01-09 17:21:24 +08:00
committed by yiguolei
parent 0a853be3d1
commit 7a75cde77d

View File

@ -4909,7 +4909,7 @@ public class Env {
if (!hashDistributionInfo.sameDistributionColumns((HashDistributionInfo) defaultDistributionInfo)) {
throw new DdlException("Cannot assign hash distribution with different distribution cols. "
+ "new is: " + hashDistributionInfo.getDistributionColumns() + " default is: "
+ ((HashDistributionInfo) distributionInfo).getDistributionColumns());
+ ((HashDistributionInfo) defaultDistributionInfo).getDistributionColumns());
}
}