yesodweb / yesodweb/persistent
selectSource might have issues because it's implemented with offset
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
https://use-the-index-luke.com/no-offset
I think in most cases it's okay, but it's not a guarantee that streaming is sound as implemented with offset.
I don't think that life without offset can be implemented generally, but maybe I lack imagination.
I'm curious to hear others thoughts.
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 by reading the linked no-offset discussion and locating the selectSource implementation in the repository. Determine whether offset-based streaming can be sound in the cases described, and whether a general alternative is possible. Done means resolving the concern with an implementation or a documented conclusion, backed by relevant tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100