backport #38431
This commit is contained in:
@ -310,6 +310,7 @@ import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
@ -4879,6 +4880,20 @@ public class Env {
|
||||
table.setSequenceMapCol(newColName);
|
||||
}
|
||||
|
||||
// 6. modify bloom filter col
|
||||
Set<String> bfCols = table.getCopiedBfColumns();
|
||||
if (bfCols != null) {
|
||||
Set<String> newBfCols = new HashSet<>();
|
||||
for (String bfCol : bfCols) {
|
||||
if (bfCol.equalsIgnoreCase(colName)) {
|
||||
newBfCols.add(newColName);
|
||||
} else {
|
||||
newBfCols.add(bfCol);
|
||||
}
|
||||
}
|
||||
table.setBloomFilterInfo(newBfCols, table.getBfFpp());
|
||||
}
|
||||
|
||||
table.rebuildFullSchema();
|
||||
|
||||
if (!isReplay) {
|
||||
|
||||
Reference in New Issue
Block a user