stac-extensions / stac-extensions/table
Capture table relationships
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 7
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
When working with collections of tables that are essentially a database export (e.g. https://github.com/microsoft/AIforEarthDataSets/blob/main/data/forest-inventory-and-analysis.md) tables will often be linked by one or more primary / foreign keys.
We might be able to expose that metadata through a [ relations ] object on Column object. Each Relation would be something like
| Field | Type | Description |
|---|---|---|
| table | string | Name of the other table. Should be present in table:columns. |
| columns | [ string ] | Colum names from the other table to join on |
We could maybe have a type to that's one-to-one, one-to-many, many-to-one, or many-to-many. Dunno if that would be useful.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing Column object and the table:columns structure described by the issue. Define whether a relations object belongs on Column, what table and columns must contain, and whether relationship type is needed. Done means the relationship metadata model and its expected behavior are decided and documented for the linked database-export example.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100