mirror of https://github.com/apache/druid.git
1) getDimensionCardinality() on QueryIndexStorageAdapter wasn't case insensitive.
This commit is contained in:
parent
f47319f118
commit
cc08d6029f
|
@ -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