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
|
@Override
|
||||||
public int getDimensionCardinality(String dimension)
|
public int getDimensionCardinality(String dimension)
|
||||||
{
|
{
|
||||||
Column column = null;
|
if (dimension == null) {
|
||||||
column = index.getColumn(dimension);
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
Column column = index.getColumn(dimension.toLowerCase());
|
||||||
if (column == null) {
|
if (column == null) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue