[regression test](schema change) add some case for agg col (#30479)

This commit is contained in:
Guangdong Liu
2024-01-29 21:04:04 +08:00
committed by yiguolei
parent 49d17f2be2
commit f0a35f6e2d
2 changed files with 77 additions and 86 deletions

View File

@ -2644,7 +2644,7 @@ public class SchemaChangeHandler extends AlterHandler {
try {
changedIndexIdToSchema = checkTable(db, olapTable, indexSchemaMap);
} catch (DdlException e) {
throw new DdlException("Table " + db.getFullName() + "." + olapTable.getName() + " check failed");
throw new DdlException("Table " + db.getFullName() + "." + olapTable.getName() + " check failed", e);
}
if (changedIndexIdToSchema.isEmpty() && !hasIndexChange) {