Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.11.0
-
None
Description
The scope of the ordering seems to be for each different granularity value instead of global.
It can be reproduce with the following kind of query, where there exist multiple values for floor_day(`__time`):
SELECT i_brand_id, floor_day(`__time`), max(ss_quantity), sum(ss_wholesale_cost) as s FROM store_sales_sold_time_subset GROUP BY i_brand_id, floor_day(`__time`) ORDER BY i_brand_id LIMIT 10;
Attachments
Issue Links
- relates to
-
HIVE-15639 Hive/Druid integration: wrong semantics for ordering within groupBy queries
- Closed