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 @@ -1591,13 +1591,6 @@ public void addPartition(Database db, String tableName, AddPartitionClause addPa
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,9 @@
import org.junit.Assert;

suite("test_storage_medium_mtmv","mtmv") {

// current, can not support extend storage medium from table
return;
String suiteName = "test_storage_medium_mtmv"
String tableName = "${suiteName}_table"
String mvName = "${suiteName}_mv"
Expand Down