Update at(), before(), and after() to use secondary index
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 642
- Forks
- 70
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 21
Description
Currently, the at(), before(), and after() functions take Into parameters but only use the timestamp associated with it. The functions in db/api/view/time.rs should be updated to use the secondary index passed to them (if there is one).
Contributor guide
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 in db/api/view/time.rs and inspect at(), before(), and after(), along with their Into parameters. Trace how each currently uses the timestamp and identify how a supplied secondary index is represented. Done means all three functions use the passed secondary index when one is available, while retaining timestamp behavior otherwise.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100