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

Operator plan reuse - (Query Compilation) #75

Open
3 tasks
srsuryadev opened this issue Jan 30, 2021 · 0 comments
Open
3 tasks

Operator plan reuse - (Query Compilation) #75

srsuryadev opened this issue Jan 30, 2021 · 0 comments
Assignees

Comments

@srsuryadev
Copy link
Contributor

srsuryadev commented Jan 30, 2021

  • ExecutionPlan - clear and reset (set/any simple interface initialize)
  • Unit tests - (Older SSB benchmark on creating a plan with basic operators - create similar tests for few queries -> see if this works ->
  • Create plan for the query
  • Submit the plan to the scheduler
  • Clear and reinitialize the plan
  • Resubmit and see if it still returns the correct result.
  • Understand at the high-level about the techniques used sqlite3 (sqlite3_prepare_v2(), sqlite3_step(), sqlite3_clear_bindings(), sqlite3_reset())

Reference links
Sample Manual construction of the operator plan ->

SelectBuildHash s_select_op(0, s, s_result_in, s_select_result_out,

Execution Plan -> https://github.com/UWHustle/hustle/blob/df14c968e91e64babf15478268eed517fa82768b/src/execution/execution_plan.h

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

2 participants