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:
HangyuanLiu
2019-04-11 16:32:33 +08:00
committed by ZHAO Chun
parent d3251a19f7
commit 916c472e24

View File

@ -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)) {