Typed values, schemas and stable record identifiers
Team design: use int32_t, double and length-delimited ASCII strings. INT bounds are a team choice to review. Schema must support at least the 13 columns in course LINEITEM.
Contract
| Field | Value |
|---|---|
| Specification | CORE-001 |
| Module | contracts |
| Scope | Required implementation or delivery |
| Milestone | M1, due 2026-12-06 |
| Owner role | Shared — choose one MR owner |
| Implementation | Planned; scaffold only |
| Contract review | Team review required before implementation |
Interface
Value / Column / Schema / RID(page_id, slot_id)
These are proposed C++ design contracts, not an already implemented API. Shared types and ownership define the intended module boundaries.
Dependencies
No implementation prerequisites.
Acceptance checklist
- [ ] Document INT bounds and FLOAT=double, VARCHAR byte limit, nullable flag and comparison rules
- [ ] Specify durable RID and ownership; no pointers to evictable page memory
- [ ] Publish a small shared header and round-trip values in a codec test
Verification
Use focused module checks plus the integration scenario above; no separate course score is claimed.
Completion rule
Link this spec and its GitLab issue in an MR into develop. Include relevant Linux evidence, obtain the other teammate’s review, merge, delete the feature branch, and close the issue. A page describes intended behavior; the GitLab issue and merged code determine completion.