GitHub user yjhjstz added a comment to the discussion: [Proposal] Cloudberry 
Multi-Catalog System Design Proposal

**Plugin Interface Layer**  
- Exposes a C ABI with function pointers (e.g. `initialize_catalog`, 
`get_table_schema`, `list_tables`)  
- Uses FFI and protobuf/JSON for language-neutral data exchange  
- Supports plugins in Rust, Java, Python, Go via standardized callbacks  

**Catalog Authentication**  
- Yes, Pluggable `AuthProvider` interface

**Cross-Catalog Cache Coordination**  
- Use snapshot-id to check is it the latest .

**Dynamic Discovery (On-Demand Metadata Fetching)**  
- Discovered schemas are cached with TTL and snapshot-ID checks, refreshed 
lazily  


GitHub link: 
https://github.com/apache/cloudberry/discussions/1297#discussioncomment-14083103

----
This is an automatically sent email for dev@cloudberry.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@cloudberry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: dev-h...@cloudberry.apache.org

Reply via email to