mirror of https://github.com/apache/druid.git
sort complex metrics with groupby
This commit is contained in:
parent
fa8372ab02
commit
9756b18f9b
|
@ -148,7 +148,7 @@ public class DefaultLimitSpec implements LimitSpec
|
|||
@Override
|
||||
public int compare(Row left, Row right)
|
||||
{
|
||||
return comparator.compare(left.getFloatMetric(column), right.getFloatMetric(column));
|
||||
return comparator.compare(left.getRaw(column), right.getRaw(column));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue