This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 1e65a8c129c branch-3.1: [fix](schema change) tablet columns is not
rebuild after enable light schema change #55909 (#55939)
1e65a8c129c is described below
commit 1e65a8c129c712ba66b9fbab51cd64260aa4c852
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Sep 12 15:18:57 2025 +0800
branch-3.1: [fix](schema change) tablet columns is not rebuild after enable
light schema change #55909 (#55939)
Cherry-picked from #55909
Co-authored-by: meiyi <[email protected]>
---
.../src/main/java/org/apache/doris/alter/AlterLightSchChangeHelper.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/alter/AlterLightSchChangeHelper.java
b/fe/fe-core/src/main/java/org/apache/doris/alter/AlterLightSchChangeHelper.java
index 29130934817..67358b0a1e7 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/alter/AlterLightSchChangeHelper.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/alter/AlterLightSchChangeHelper.java
@@ -252,6 +252,7 @@ public class AlterLightSchChangeHelper {
indexMeta.setMaxColUniqueId(schemaPair.first);
indexMeta.setSchema(schemaPair.second);
}
+ olapTable.rebuildFullSchema();
} catch (IOException e) {
throw new IllegalStateException("fail to reset index schema", e);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]