[cross-schema] Namespace secondary-schema proto types and enumerate all schemas in catalog metadata - #4445
Draft
arnaud-lacurie wants to merge 2 commits into
Conversation
2 tasks
arnaud-lacurie
force-pushed
the
apple/arnaud-lacurie/cross-schema/pr4
branch
from
August 14, 2026 16:48
ff70a9a to
ba4ef64
Compare
…atalog metadata LogicalOperator prefixes secondary-schema type names with the schema name (e.g. "OTHER_SCHEMA.things") to avoid TypeRepository collisions when two schemas define identically-named tables, while preserving the original FDB record type name as the scan key. CatalogMetaData.getTables/getColumns now enumerates all schemas in the database when no schema filter is provided, enabling cross-schema metadata inspection.
arnaud-lacurie
force-pushed
the
apple/arnaud-lacurie/cross-schema/pr4
branch
from
August 14, 2026 18:50
ba4ef64 to
eb1c2b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LogicalOperatorprefixes the proto type name of secondary-schema tables withschemaName.(e.g.OTHER.things) to avoidTypeRepositorycollisions when two schemas define identically-named tables; the FDB record type name (scan key) is preserved unchangedCatalogMetaData.getTablesandgetColumnsnow enumerate all schemas in the database when no schema filter is provided, enabling cross-schema metadata inspectionTest plan
thingsworks withoutTypeRepositorycollisiongetTables(database, null, ...)returns tables from all schemas