Piotr Sarna
0718ff5133
Merge 'min/max on collections returns human-readable result' from Juliusz
...
Previously, scylla used min/max(blob)->blob overload for collections,
tuples and UDTs; effectively making the results being printed as blobs.
This PR adds "dynamically"-typed min()/max() functions for compound types.
These types can be complicated, like map<int,set<tuple<..., and created
in runtime, so functions for them are created on-demand,
similarly to tojson(). The comparison remains unchanged - underneath
this is still byte-by-byte weak lex ordering.
Fixes #5139
* jul-stas/5139-minmax-bad-printing-collections:
cql_query_tests: Added tests for min/max/count on collections
cql3: min()/max() for collections/tuples/UDTs do not cast to blobs
2019-12-06 16:40:17 +01:00
..
2019-12-06 12:14:51 +01:00
2019-10-28 21:12:43 +03:00
2019-11-26 17:57:51 +03:00
2019-11-28 15:48:59 +02:00
2019-10-25 12:04:44 +02:00
2019-04-09 16:58:22 +02:00
2019-01-08 13:16:36 +02:00
2018-06-11 15:34:14 +03:00
2019-11-26 17:57:51 +03:00
2019-11-26 17:57:51 +03:00
2019-02-27 15:07:54 +01:00
2018-04-30 00:27:23 +02:00
2019-10-25 12:04:44 +02:00
2019-10-25 12:04:44 +02:00
2019-11-21 12:08:47 +02:00
2019-11-21 12:08:47 +02:00
2019-08-21 19:35:59 +02:00
2019-11-26 14:18:17 +03:00
2019-11-07 08:19:52 -08:00
2019-11-26 02:24:49 +03:00
2018-11-21 00:01:44 +02:00
2019-01-08 13:16:36 +02:00
2019-11-26 14:18:17 +03:00
2019-11-26 14:18:17 +03:00
2019-10-25 10:49:19 +02:00
2019-10-25 10:49:19 +02:00
2019-07-04 10:54:30 +02:00
2019-10-25 12:04:44 +02:00
2019-10-25 12:04:44 +02:00
2019-11-26 14:18:17 +03:00
2019-07-04 10:54:30 +02:00
2019-10-22 17:07:33 +03:00
2018-06-11 15:34:13 +03:00
2019-10-08 00:02:35 +02:00
2019-12-05 17:00:47 +02:00
2019-11-26 02:24:49 +03:00
2019-11-28 15:48:59 +02:00
2019-02-27 15:07:54 +01:00
2019-07-04 10:54:30 +02:00
2018-06-25 09:21:47 +01:00
2019-06-19 14:10:13 +02:00
2018-09-27 15:29:28 +02:00
2019-01-08 13:16:36 +02:00
2018-02-14 14:15:57 -05:00
2019-10-25 10:49:19 +02:00
2019-10-25 10:49:19 +02:00
2019-07-04 10:58:56 +02:00
2019-07-04 10:54:30 +02:00
2019-11-14 13:14:39 +01:00
2019-10-25 10:49:19 +02:00
2019-07-04 10:54:30 +02:00
2019-07-04 10:54:30 +02:00
2019-10-25 12:04:44 +02:00
2019-10-25 12:04:44 +02:00
2019-08-14 10:02:00 -07:00
2019-11-21 12:08:49 +02:00
2019-11-21 12:08:49 +02:00
2019-10-28 06:16:12 +01:00
2019-10-28 06:16:12 +01:00
2019-10-28 21:12:52 +03:00
2019-10-28 22:30:37 +03:00
2019-11-12 18:02:21 +01:00
2019-11-12 18:02:21 +01:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2018-04-30 00:27:23 +02:00
2019-01-08 13:16:36 +02:00
2018-04-23 12:00:57 +02:00
2019-01-08 13:16:36 +02:00