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

feat(anna): Added support for user tables #1264

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

rohitkulshreshtha
Copy link
Contributor

There were three options I tried here.

  1. We could add another state() for the user table and demux requests over the user and system state. I have tried this, and it has led to significant, ugly code duplication.
  2. Use Mingwei's lattice macro - seems like an ideal use case for the lattice since the requirements essentially call for a glorified Pair<>. However, there's no way to "project" lattice members out and use them in joins. Mingwei has created an issue for this.
  3. Add another nesting level with MapUnionHashMap<Namespace, ...> - which is what this PR does.

Copy link

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7d52354
Status: ✅  Deploy successful!
Preview URL: https://303d795f.hydroflow.pages.dev
Branch Preview URL: https://1255-support-user-namespace.hydroflow.pages.dev

View logs

Copy link
Member

@MingweiSamuel MingweiSamuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@rohitkulshreshtha rohitkulshreshtha merged commit 3b36903 into anna_v2 Jun 3, 2024
10 of 11 checks passed
@rohitkulshreshtha rohitkulshreshtha deleted the 1255-support-user-namespace branch June 3, 2024 22:14
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.

2 participants