1) getDimensionCardinality() on QueryIndexStorageAdapter wasn't case insensitive.

This commit is contained in:
Eric Tschetter 2013-03-20 12:03:07 -05:00
parent f47319f118
commit cc08d6029f
1 changed files with 5 additions and 2 deletions

View File

@ -83,8 +83,11 @@ public class QueryableIndexStorageAdapter extends BaseStorageAdapter
@Override
public int getDimensionCardinality(String dimension)
{
Column column = null;
column = index.getColumn(dimension);
if (dimension == null) {
return 0;
}
Column column = index.getColumn(dimension.toLowerCase());
if (column == null) {
return 0;
}