Merge branch 'master' into stop_task

This commit is contained in:
Fangjin Yang 2013-03-20 10:51:47 -07:00
commit 654a43a0f3
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;
}