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

completeness of implementation? #11

Open
adriangb opened this issue Jan 2, 2025 · 4 comments
Open

completeness of implementation? #11

adriangb opened this issue Jan 2, 2025 · 4 comments

Comments

@adriangb
Copy link

adriangb commented Jan 2, 2025

hi @suremarc, I was wondering if the implementation here is complete? I was trying to grok it and came across e.g. https://github.com/datafusion-contrib/datafusion-materialized-views/blob/main/src/rewrite.rs which seems to be an empty file. I wanted to confirm what the state of the repo is before I break my brain. Thanks for your work on this!

@suremarc
Copy link
Collaborator

suremarc commented Jan 2, 2025

Hey @adriangb, so far the materialized module is pretty much complete, which is the piece related to incrementally maintaining materialized views. The rewrite module is for "query rewriting" which is more about exploiting materialized views to speed up queries. Everything in the materialized module is nearly ready, I'm cooking up an integration test which should serve dually as an example of how to use it, but I'm still ironing out some small bugs.

After finishing up the integration test I plan to port the query rewriting code to that empty file you mentioned.

@alamb
Copy link

alamb commented Jan 26, 2025

BTW saw a great talk from @JanKaul about materialized views in DataFusion at

He even had some nice relational algebra (thanks to @jakthom for the pictures)

Image
Image
Image
Image

It was not 100% clear to me where that implementation was but I wanted to point it out in this repo as a source of potential collaboration

https://github.com/JanKaul/frostbow

@JanKaul
Copy link

JanKaul commented Jan 26, 2025

The implementation is here:

https://github.com/JanKaul/iceberg-rust/tree/main/datafusion_iceberg%2Fsrc%2Fmaterialized_view

I have to update the documentation and upload the slides somewhere.

@alamb
Copy link

alamb commented Jan 26, 2025

The implementation is here:

https://github.com/JanKaul/iceberg-rust/tree/main/datafusion_iceberg%2Fsrc%2Fmaterialized_view

I have to update the documentation and upload the slides somewhere.

Perhaps you can post the slides to

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

No branches or pull requests

4 participants