mirror of
https://github.com/apache/druid.git
synced 2025-02-28 14:29:17 +00:00
* SQL: Fix natural comparator selection for groupBy. DruidQuery.computeSorting had some unique logic for finding natural comparators for SQL types. It should be using getStringComparatorForRelDataType instead. One good effect here is that the comparator for BOOLEAN is now NUMERIC rather than LEXICOGRAPHIC. The test case illustrates this. * Remove msqCompatible, for now. * Fix test.