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: SQL Inner Join Operation #394

Open
Lengxiaoyi opened this issue Nov 26, 2024 · 2 comments
Open

feat: SQL Inner Join Operation #394

Lengxiaoyi opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Lengxiaoyi
Copy link

Hi,I paid attention to zksql when I was looking through the paper recently and reviewed TPC- H based on the code in the paper, I found that performing a join operation, which was not mentioned in the paper, would lead to memory overflow, and suggested that this project could measure the program's running maximum memory after implementing the sql inner_join operator, and it would be a more convincing proof of the correctness of the program selection. Good luck!

@Lengxiaoyi Lengxiaoyi added the enhancement New feature or request label Nov 26, 2024
@JayWhite2357 JayWhite2357 changed the title Testing the join operator feat: SQL Inner Join Operation Nov 26, 2024
@JayWhite2357
Copy link
Contributor

Hey @Lengxiaoyi. Joins are currently the next major feature that we are looking to add. @iajoiner is working on them

@Lengxiaoyi
Copy link
Author

Thank you very much for your reply, can I think that the current optimization scheme after implementing the join operator lies in the fact that it should be too large for the Cartesian product generated after the join operation, resulting in too large a PROOF SIZE. It seems that using VOLE in the head can reduce the memory usage since only one calculation is needed. Of course proof of sql will have a better implementation, looking forward to the project's continuous update, I can learn a lot of knowledge from proof of sql.Thank you~
#Suggestion:
Measure the peak memory usage and proof size after adding the query plan to the join algorithm to generate the corresponding proof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants