[revert](storage) storage medium of partition should not inherit from… (#41212)
… table (#41192) pick: https://github.com/apache/doris/pull/41192
This commit is contained in:
@ -1591,13 +1591,6 @@ public class InternalCatalog implements CatalogIf<Database> {
|
||||
if (!properties.containsKey(PropertyAnalyzer.PROPERTIES_STORAGE_POLICY)) {
|
||||
properties.put(PropertyAnalyzer.PROPERTIES_STORAGE_POLICY, olapTable.getStoragePolicy());
|
||||
}
|
||||
if (!properties.containsKey(PropertyAnalyzer.PROPERTIES_STORAGE_MEDIUM)) {
|
||||
TStorageMedium tableStorageMedium = olapTable.getStorageMedium();
|
||||
if (tableStorageMedium != null) {
|
||||
properties.put(PropertyAnalyzer.PROPERTIES_STORAGE_MEDIUM,
|
||||
tableStorageMedium.name().toLowerCase());
|
||||
}
|
||||
}
|
||||
|
||||
singlePartitionDesc.analyze(partitionInfo.getPartitionColumns().size(), properties);
|
||||
partitionInfo.createAndCheckPartitionItem(singlePartitionDesc, isTempPartition);
|
||||
|
||||
Reference in New Issue
Block a user