Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: Add start to subqueries #2911

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

wip: Add start to subqueries #2911

wants to merge 1 commit into from

Conversation

aboodman
Copy link
Contributor

@aboodman aboodman commented Nov 3, 2024

gotta put this down for a bit.

it looks like memorysource::fetch() needs to be cleaned up again.

  • i think that overlay is probably not being considered for startAt right now.
  • it looks like there's another note about overlay vs edit
  • the branch to normalize startAt and caculate scanStart are doing overlapping things.

I think there has to be some way to simplify this. I feel like it should involve:

  1. Figuring out the index to scan
  2. Merging overlay into all index scans in some generic way – either by literally applying the overlay to all indexes eagerly, or by merging it in dynamically
  3. Calculating the start position one time

gotta put this down for a bit.

it looks like memorysource::fetch() needs to be cleaned up again.

- i think that overlay is probably not being considered for startAt right now.
- the branch to normalize startAt and caculate scanStart are doing overlapping things.
Copy link

vercel bot commented Nov 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
replicache-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 3, 2024 10:44pm
zbugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 3, 2024 10:44pm

@aboodman aboodman changed the title wip: https://bugs.rocicorp.dev/issue/3113 wip: Add start to subqueries Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant