Loading
Add traversal_path to siphon_knowledge_graph_enabled_namespaces and siphon_namespace_details
What does this MR do and why?
- Remove old
siphon_knowledge_graph_enabled_namespacestable and recreate with traversal_path column - Remove old
siphon_namespace_detailstable and recreate with traversal_path column
References
Resolves gitlab-org/orbit/knowledge-graph#503 (closed)
How to set up and validate locally
-
Run the ClickHouse migration:
bundle exec rake gitlab:clickhouse:migrate:main -
Verify the column exists:
clickhouse client --port 9001 --database gitlab_clickhouse_development --query "DESCRIBE siphon_knowledge_graph_enabled_namespaces FORMAT PrettyCompact" clickhouse client --port 9001 --database gitlab_clickhouse_development --query "DESCRIBE siphon_namespace_details FORMAT PrettyCompact" -
Confirm
traversal_pathshows up with thedictGetOrDefaultdefault expression.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Jean-Gabriel Doyon