Avi Kivity
61505d057e
Merge 'Sort user-defined types in describe statements' from Michał Jadwiszczak
...
User-defined types can depend on each other, creating directed acyclic graph.
In order to support restoring schema from `DESC SCHEMA`, UDTs should be
ordered topologically, not alphabetically as it was till now.
This patch changes the way UDTs are ordered in `DESC SCHEMA`/`DESC KEYSPACE <ks>` statements, so the output can be safely copy-pasted to restore the schema.
Fixes #18539
Closes scylladb/scylladb#18302
* github.com:scylladb/scylladb:
test/cql-pytest/test_describe: add test for UDTs ordering
cql3/statements/describe_statement: UDTs topological sorting
cql3/statements/describe_statement: allow to skip alphabetical sorting
types: add a method to get all referenced user types
db/cql_type_parser: use generic topological sorting
db/cql_type_parses: futurize raw_builder::build()
test/boost: add test for topological sorting
utils: introduce generic topological sorting algorithm
2024-05-20 16:58:17 +03:00
..
2024-01-29 09:02:01 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2023-08-17 15:52:48 +03:00
2024-04-29 14:05:05 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-29 14:05:05 +02:00
2024-04-25 21:27:40 +02:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-01-02 19:08:47 +02:00
2024-01-16 16:43:17 +02:00
2023-06-28 10:18:06 +02:00
2024-05-18 00:23:30 +03:00
2024-04-26 10:48:47 +03:00
2024-01-29 09:02:01 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2023-08-17 15:52:48 +03:00
2024-05-17 20:41:20 +03:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-29 14:05:05 +02:00
2024-04-25 21:27:40 +02:00
2024-01-16 16:43:17 +02:00
2024-05-16 13:30:03 +02:00
2024-01-16 16:43:17 +02:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2023-08-17 15:52:48 +03:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-01-16 16:43:17 +02:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2024-03-26 15:31:18 +02:00
2024-02-06 13:14:15 +02:00
2023-11-30 13:07:20 +01:00
2023-11-30 13:07:20 +01:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2024-03-01 16:25:14 +01:00
2024-01-16 16:43:17 +02:00
2024-04-19 22:56:16 +08:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2024-04-25 21:27:40 +02:00
2024-05-16 00:28:47 +02:00
2024-01-16 16:43:17 +02:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-01-16 16:43:17 +02:00
2024-01-23 19:36:24 +02:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-07-14 15:42:58 +03:00
2023-11-09 10:43:11 +01:00
2023-08-17 15:52:48 +03:00