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-11-12 13:35:41 +01:00
2019-11-07 08:41:08 -08:00
2019-09-07 10:07:33 -07:00
2019-11-28 15:48:59 +02:00
2019-01-30 11:17:38 +02:00
2019-07-04 11:32:57 +02:00
2019-05-07 07:11:07 +03:00
2019-01-30 15:24:31 +00:00
2019-01-30 11:17:38 +02:00
2019-09-15 14:44:54 -07:00
2019-11-25 12:43:39 +01:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-10-29 19:25:12 +01:00
2019-11-14 15:07:16 +01:00
2019-06-28 16:43:25 +03:00
2019-01-30 11:17:38 +02:00
2019-11-12 13:35:41 +01:00
2019-11-12 13:01:34 +01:00
2019-11-12 13:01:34 +01:00
2019-11-28 15:48:59 +02:00
2019-05-07 09:58:21 +03:00
2019-12-06 16:40:17 +01:00
2019-11-28 15:48:59 +02:00
2019-10-17 11:28:23 +02:00
2019-05-07 10:00:58 +03:00
2019-10-25 12:04:44 +02:00
2019-11-26 02:24:49 +03:00
2019-11-21 12:08:46 +02:00
2019-05-07 07:11:07 +03:00
2019-12-05 11:58:34 +02:00
2019-03-28 14:21:10 +02:00
2019-07-29 17:15:51 +02:00
2019-05-07 07:11:07 +03:00
2019-05-07 07:11:07 +03:00
2019-06-28 16:43:25 +03:00
2019-10-30 15:34:10 +01:00
2019-08-13 10:16:02 +03:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-03-04 10:23:45 +00:00
2019-11-12 13:35:41 +01:00
2019-03-28 14:21:10 +02:00
2019-08-28 09:46:17 +03:00
2019-08-21 19:35:59 +02:00
2019-03-28 14:21:10 +02:00
2019-01-30 11:17:38 +02:00
2019-02-07 20:18:14 +02:00
2019-01-30 11:17:38 +02:00
2019-06-13 14:45:48 +03:00
2019-11-21 12:08:46 +02:00
2019-01-30 11:17:38 +02:00
2019-08-12 19:48:31 +03:00
2019-05-07 10:00:58 +03:00
2019-12-02 10:10:31 +02:00
2019-02-07 20:18:14 +02:00
2019-12-03 19:07:19 +01:00
2019-09-23 12:51:24 +02:00
2019-02-14 22:37:41 +02:00
2019-10-03 22:03:29 +02:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-10-15 15:42:05 +03:00
2019-07-21 16:42:54 +03:00
2019-10-23 08:29:58 +03:00
2019-01-30 11:17:38 +02:00
2019-01-30 11:17:38 +02:00
2019-12-03 15:41:34 +01:00
2019-10-25 12:04:44 +02:00
2019-08-01 13:03:03 +03:00
2019-12-02 17:13:53 +02:00
2019-10-25 12:04:44 +02:00
2019-11-12 13:35:41 +01:00
2019-08-26 18:54:44 +03:00
2019-06-28 16:43:25 +03:00
2019-05-13 19:30:50 +02:00
2019-05-13 19:18:20 +02:00
2019-06-28 16:43:25 +03:00
2019-09-07 18:07:01 +03:00
2019-10-25 12:04:44 +02:00
2019-10-15 08:52:39 +03:00
2019-12-02 10:10:31 +02:00
2019-04-29 19:56:20 -07:00
2019-01-30 11:17:38 +02:00
2019-10-04 11:38:12 +02:00
2019-11-12 13:35:41 +01:00
2019-01-30 11:17:38 +02:00
2019-11-07 08:41:08 -08:00
2019-01-30 11:17:38 +02:00
2019-07-19 11:58:42 +02:00
2019-01-30 11:17:38 +02:00
2019-10-03 22:03:29 +02:00
2019-03-28 14:21:10 +02:00
2019-10-26 22:53:37 +03:00
2019-11-18 10:52:20 +01:00
2019-10-26 22:53:37 +03:00
2019-03-26 16:05:08 +02:00
2019-04-11 18:50:42 +03:00
2019-10-25 14:10:28 +02:00
2019-10-26 22:53:37 +03:00
2019-03-26 16:24:19 +02:00
2019-02-11 14:45:43 +02:00
2019-08-21 19:35:59 +02:00
2019-03-26 16:05:08 +02:00
2019-02-11 17:14:47 +02:00
2019-02-11 17:14:47 +02:00
2019-07-08 15:28:21 +00:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2019-11-07 08:19:52 -08:00
2019-02-13 09:08:12 +00:00
2019-11-21 12:08:46 +02:00
2019-11-26 21:17:15 +02:00
2019-10-25 12:05:10 +02:00
2019-03-26 16:24:19 +02:00
2019-10-25 12:05:10 +02:00
2019-08-26 18:54:44 +03:00
2019-03-14 13:37:06 +00:00
2019-07-12 18:09:15 +02:00