Dejan Mircevski
d79c2cab63
cql3: Use correct comparator in timeuuid min/max
...
The min/max aggregators use aggregate_type_for comparators, and the
aggregate_type_for<timeuuid> is regular uuid. But that yields wrong
results; timeuuids should be compared as timestamps.
Fix it by changing aggregate_type_for<timeuuid> from uuid to timeuuid,
so aggregators can distinguish betwen the two. Then specialize the
aggregation utilities for timeuuid.
Add a cql-pytest and change some unit tests, which relied on naive
uuid comparators.
Fixes #7729 .
Tests: unit (dev, debug)
Signed-off-by: Dejan Mircevski <dejan@scylladb.com >
Closes #7910
2021-01-13 11:07:29 +02:00
..
2021-01-10 19:30:12 +02:00
2021-01-13 11:07:29 +02:00
2021-01-05 14:39:18 +02:00
2021-01-05 14:39:18 +02:00
2021-01-13 11:07:29 +02:00
2021-01-10 19:30:12 +02:00
2020-05-30 09:49:29 +03:00
2020-05-30 09:49:29 +03:00
2020-12-14 07:50:40 +01:00
2020-12-14 07:50:40 +01:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-02-20 18:14:49 +02:00
2020-06-08 11:28:57 +03:00
2020-04-27 12:47:42 +03:00
2020-04-27 12:47:42 +03:00
2020-05-30 09:49:29 +03:00
2021-01-07 13:22:20 +02:00
2020-07-21 10:33:49 -07:00
2019-12-11 10:44:40 -08:00
2020-09-04 17:27:30 +02:00
2020-12-14 07:50:40 +01:00
2019-11-26 02:24:49 +03:00
2020-02-28 08:36:27 -08:00
2020-02-28 08:36:27 -08:00
2021-01-10 19:30:12 +02:00
2020-12-03 10:57:07 +01:00
2021-01-10 19:30:12 +02:00
2020-05-30 09:49:29 +03:00
2020-08-18 12:27:00 +02:00
2020-05-31 23:45:19 +03:00
2020-05-31 23:45:19 +03:00
2020-09-04 17:27:30 +02:00
2021-01-11 12:12:29 +02:00
2020-08-26 09:45:49 +02:00
2020-10-31 18:51:52 +03:00
2020-10-31 18:51:52 +03:00
2020-05-06 19:02:36 +03:00
2020-08-18 12:27:01 +02:00
2020-08-03 17:32:49 +02:00
2020-06-29 12:30:37 +03:00
2020-06-29 12:30:37 +03:00
2021-01-10 19:30:12 +02:00
2020-05-30 09:49:29 +03:00
2020-08-25 11:10:36 +03:00
2020-08-25 11:10:36 +03:00
2020-02-18 16:16:20 +02:00
2020-09-04 17:27:30 +02:00
2020-08-18 12:27:00 +02:00
2020-08-18 12:27:00 +02:00
2020-12-11 09:53:07 +01:00
2020-12-11 09:53:07 +01:00
2020-05-30 09:49:29 +03:00
2020-07-03 10:27:23 +02:00
2020-07-03 10:27:23 +02:00
2020-06-15 15:47:15 -07:00
2020-07-28 10:06:00 +03:00
2020-12-04 09:19:39 +01:00
2020-09-04 13:13:26 +03:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-11-01 11:01:24 +02:00
2020-11-01 11:01:24 +02:00
2020-08-26 09:45:48 +02:00
2020-08-26 09:45:48 +02:00
2020-04-27 12:47:42 +03:00
2020-04-27 12:47:42 +03:00