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: generalized hash trie indexes for relational tuples #1503

Merged
merged 132 commits into from
Oct 29, 2024
Merged

Conversation

jhellerstein
Copy link
Contributor

Generalized Hash Tries are part of the SIGMOD '23 FreeJoin paper by Wang/Willsey/Suciu. They provide a compressed ("factorized") representation of relations. By operating in the factorized domain, join algorithms can defer cross-products and achieve asymptotically optimal performance.

Copy link

cloudflare-workers-and-pages bot commented Oct 22, 2024

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9b5fdab
Status: ✅  Deploy successful!
Preview URL: https://b4562122.hydroflow.pages.dev
Branch Preview URL: https://feature-ght.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.

Review for variadics

variadics/src/variadic_collections.rs Outdated Show resolved Hide resolved
variadics_macro/src/lib.rs Show resolved Hide resolved
variadics_macro/README.md Outdated Show resolved Hide resolved
variadics_macro/src/lib.rs Outdated Show resolved Hide resolved
variadics_macro/src/lib.rs Outdated Show resolved Hide resolved
variadics_macro/src/lib.rs Outdated Show resolved Hide resolved
variadics_macro/README.md Show resolved Hide resolved
variadics_macro/src/lib.rs Outdated Show resolved Hide resolved
variadics_macro/README.md Outdated Show resolved Hide resolved
lattices/src/lib.rs Outdated Show resolved Hide resolved
lattices/src/ght_macros.rs Outdated Show resolved Hide resolved
lattices/src/ght_lazy.rs Outdated Show resolved Hide resolved
lattices/src/ght_lazy.rs Outdated Show resolved Hide resolved
lattices/src/ght_lazy.rs Outdated Show resolved Hide resolved
lattices/src/ght_lazy.rs Outdated Show resolved Hide resolved
lattices/Cargo.toml Outdated Show resolved Hide resolved
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.

static_height as an associated constant

lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght_test.rs Outdated Show resolved Hide resolved
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.

ght.rs

lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
lattices/src/ght.rs Outdated Show resolved Hide resolved
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.

Rest of GHT

Could we move the GHT stuff into its own submodule of lattices?

  • lattices/src
    • ght/
    • mod.rs (ght.rs)
    • lattice.rs
    • colt.rs (? for ght_lazy)
    • macros.rs

something like that does't have to be exactly that, what do you think?

lattices/src/ght_lattice.rs Outdated Show resolved Hide resolved
lattices/src/ght_lattice.rs Outdated Show resolved Hide resolved
lattices/src/ght_lattice.rs Outdated Show resolved Hide resolved
lattices/src/ght_lattice.rs Outdated Show resolved Hide resolved
lattices/src/ght_lazy.rs Outdated Show resolved Hide resolved
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.

some dead code in comments, but looks good to go!

lattices/src/ght/mod.rs Outdated Show resolved Hide resolved
lattices/src/ght/mod.rs Outdated Show resolved Hide resolved
lattices/src/ght/mod.rs Outdated Show resolved Hide resolved
lattices/src/ght/mod.rs Outdated Show resolved Hide resolved
lattices/src/ght/mod.rs Outdated Show resolved Hide resolved
lattices/src/ght/mod.rs Outdated Show resolved Hide resolved
@MingweiSamuel
Copy link
Member

Good to merge as long as only latest-nightly tests are failing

@jhellerstein jhellerstein merged commit f7e740f into main Oct 29, 2024
39 of 42 checks passed
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.

3 participants