Skip to content

refactor: add namespace-aware SchemaView#730

Open
shirly121 wants to merge 6 commits into
alibaba:mainfrom
shirly121:impl_schema_view
Open

refactor: add namespace-aware SchemaView#730
shirly121 wants to merge 6 commits into
alibaba:mainfrom
shirly121:impl_schema_view

Conversation

@shirly121

@shirly121 shirly121 commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a read-only SchemaView that filters vertex and edge schemas by namespace
  • persist namespace metadata through schema DDL parameters, WAL records, and schema serialization
  • make GOptPlanner::compilePlan use the default namespace view
  • return result<> with ERR_NOT_FOUND when schema labels are unavailable in the selected namespace
  • add AP and TP storage tests covering namespace isolation before and after transaction commit

Testing

  • cmake --build build --target schema_view_test -j$(sysctl -n hw.ncpu)
  • ctest --test-dir build -R "^schema_view_test$" --output-on-failure

Fixes #716

@shirly121 shirly121 changed the title feat: add namespace-aware SchemaView refactor: add namespace-aware SchemaView Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SchemaView for namespace-isolated schema access

1 participant