georgia-tech-db/evadb

Use `SET` to control the ray and cache optimization

xzdandy opened this issue · 2 comments

Search before asking

  • I have searched the EvaDB issues and found no similar feature requests.

Description

After #1272 is merged, we can use the SET command to control the two optimization we have in EvaDB, ray and cache.

Use case

The following two affect the global optimization setting:

SET RAY = {True | False} 
SET CACHE = {True | False}

To control individual function:

SET RAY_<function name> = {True | False}
SET CACHE_<function name> = {True | False}

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Right now we use TO or = for referencing to assignment. That would change the queries to something like

SET RAY = {True | False} 
SET CACHE TO {True | False}

Just wanted to confirm if we wanted to stick with that or remove the TO or =

Thanks @hershd23 for the correction. TO or = is good. I missed that.