This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new d8a5ffd6e57 branch-3.0: [fix] (property) Filter table property
storage_policy for db sync #44756 (#45577)
d8a5ffd6e57 is described below
commit d8a5ffd6e570944e7ba7208ca5312e05eb7b2a15
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Dec 23 20:18:48 2024 +0800
branch-3.0: [fix] (property) Filter table property storage_policy for db
sync #44756 (#45577)
Cherry-picked from #44756
Co-authored-by: Uniqueyou <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java
index 1c1d7e35880..3229d5dad72 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/TableProperty.java
@@ -454,6 +454,7 @@ public class TableProperty implements Writable,
GsonPostProcessable {
public void removeInvalidProperties() {
properties.remove(PropertyAnalyzer.PROPERTIES_STORAGE_POLICY);
+ storagePolicy = "";
properties.remove(PropertyAnalyzer.PROPERTIES_COLOCATE_WITH);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]