Nadav Har'El
92b7a84e90
secondary index: in error message, call UDT as UDT
...
It is forbidden to create a secondary index of a column which includes in
any way the "duration" type. This includes a UDT which including duration.
Our code attempted to print in this case the message "Secondary indexes
are not supported on UDTs containing durations" - but because we tested
for tuples first, and UDTs are also tuples - we got the message about
tuples.
By changing the order of the tests, we get the most specific (and
useful) error message.
Fixes #8724 .
Signed-off-by: Nadav Har'El <nyh@scylladb.com >
Message-Id: <20210526201042.642550-1-nyh@scylladb.com >
2021-05-27 15:46:30 +03:00
..
2021-05-20 01:33:18 +03:00
2021-05-20 01:33:18 +03:00
2021-05-24 17:19:45 +03:00
2021-05-20 01:33:18 +03:00
2021-05-27 15:46:30 +03:00
2021-05-20 00:18:00 +03:00
2021-05-20 00:18:00 +03:00
2020-05-30 09:49:29 +03:00
2021-04-01 10:42:04 +02:00
2021-05-20 00:18:00 +03:00
2021-05-21 20:54:01 +03:00
2021-05-17 16:46:28 +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
2021-04-01 10:42:07 +02:00
2021-04-01 10:42:07 +02:00
2020-07-21 10:33:49 -07:00
2019-12-11 10:44:40 -08:00
2019-08-21 19:35:59 +02:00
2021-04-20 21:23:00 +03:00
2021-05-10 10:10:38 +02:00
2019-11-26 02:24:49 +03:00
2021-05-20 00:18:00 +03:00
2021-05-20 00:18:00 +03:00
2021-02-16 15:36:00 +02:00
2020-02-28 08:36:27 -08:00
2021-05-17 17:09:55 +02:00
2021-05-17 17:09:55 +02:00
2021-04-01 10:44:21 +02:00
2021-04-01 10:44:21 +02:00
2021-03-10 21:25:43 -05:00
2020-05-31 23:45:19 +03:00
2021-04-01 10:44:21 +02:00
2021-04-01 10:42:07 +02:00
2021-02-25 17:20:27 +01:00
2021-02-25 17:20:27 +01:00
2021-05-10 11:48:14 +02:00
2021-04-12 16:01:04 +02:00
2020-05-06 19:02:36 +03:00
2020-08-18 12:27:01 +02:00
2021-03-03 10:19:46 +00:00
2021-05-20 20:14:15 +03:00
2021-05-20 20:14:15 +03:00
2021-05-17 17:09:55 +02:00
2021-04-01 10:44:21 +02: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
2021-05-24 17:19:45 +03:00
2020-08-18 12:27:00 +02:00
2020-08-18 12:27:00 +02:00
2021-05-17 17:12:07 +02:00
2021-05-17 17:12:07 +02:00
2020-05-30 09:49:29 +03:00
2021-03-31 06:35:10 +02:00
2021-03-31 06:35:09 +02:00
2021-03-03 10:19:46 +00:00
2021-04-08 10:16:21 +02:00
2020-12-04 09:19:39 +01:00
2021-04-01 10:44:21 +02:00
2021-05-17 16:46:28 +02:00
2021-05-17 16:46:28 +02:00
2021-05-20 00:18:00 +03:00
2021-05-20 00:18:00 +03:00
2020-11-01 11:01:24 +02:00
2020-11-01 11:01:24 +02:00
2021-04-01 10:42:07 +02:00
2021-04-01 10:44:21 +02:00
2021-05-20 00:18:00 +03:00
2021-05-20 00:18:00 +03:00