Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1671,13 +1671,6 @@ public PartitionPersistInfo addPartition(Database db, String tableName, AddParti
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import org.junit.Assert;

suite("test_storage_medium_mtmv","mtmv") {
// current, can not support extend storage medium from table
return;
// cloud not support set storage medium
if (isCloudMode()) {
return;
Expand Down