mirror of https://github.com/apache/druid.git
Merge branch 'master' into stop_task
This commit is contained in:
commit
654a43a0f3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue