Fix bug in create table with BF (#907)
Fixed a bug in the Bloom filter where column names could not be found due to spaces
This commit is contained in:
@ -257,6 +257,7 @@ public class PropertyAnalyzer {
|
||||
String[] bfColumnArr = bfColumnsStr.split(COMMA_SEPARATOR);
|
||||
Set<String> bfColumnSet = Sets.newTreeSet(String.CASE_INSENSITIVE_ORDER);
|
||||
for (String bfColumn : bfColumnArr) {
|
||||
bfColumn = bfColumn.trim();
|
||||
boolean found = false;
|
||||
for (Column column : columns) {
|
||||
if (column.getName().equalsIgnoreCase(bfColumn)) {
|
||||
|
||||
Reference in New Issue
Block a user