feat(rust): (WONT MERGE, DESIGN DISSCUSSION)add metadata module structure and data types#210
Conversation
Create the foundation for ADBC Connection interface metadata methods: - Add metadata module with mod.rs and types.rs - Implement CatalogInfo, SchemaInfo, TableInfo structs for listing metadata - Implement ColumnInfo struct with full XDBC field support - Implement PrimaryKeyInfo and ForeignKeyInfo structs for constraints - Add comprehensive unit tests for struct instantiation and cloning This establishes the data structures needed for get_objects(), get_table_schema(), and other metadata query operations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Can we have Claude at least ensure pre-commit passes? |
| @@ -0,0 +1,969 @@ | |||
| # Connection Interface Metadata Implementation Design | |||
There was a problem hiding this comment.
Assuming that this PR stack is based on this design. I think we need consider the design/implementing sequence of the driver. it should be
- basic connection and statement execution design and implementation (since metadata operation depend on this).
- metadata operation implementation
- cloudfetch implemenmtation
- auth related.
- client telemetry.
yes, we will, @lidavidm as I replied in the other comment, we are still in design discussion, the code generated here just to validate the design for now, no intend to merge of this. |
🥞 Stacked PR
Use this link to review incremental changes.
Create the foundation for ADBC Connection interface metadata methods:
This establishes the data structures needed for get_objects(),
get_table_schema(), and other metadata query operations.
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
What's Changed
Please fill in a description of the changes here.
This contains breaking changes.
Closes #NNN.