verdict-project / verdict

Interactive-Speed Analytics: 200x Faster, 200x Fewer Cluster Resources, Approximate Query Processing
http://verdictdb.org
Apache License 2.0
248 stars 66 forks source link

Remove automatic table detection for scrambles #333

Closed dongyoungy closed 5 years ago

dongyoungy commented 5 years ago

We need to remove automatic table detection for scrambles and let users to specify scrambles directly if one wants to use AQP with VerdictDB. This needs to be done because:

  1. It is currently very difficult to support automatic table detection properly for complex queries (e.g., ones with nested queries) with multiple scramble types.
  2. It provides more freedom to users to specify which scramble to use for a given query. This is possible because we now allow users to view available scrambles (with SHOW SCRAMBLES command).

We may go back to automatic table replacement for scrambles once we figure out the proper way to do it, but until then we think we should let users to specify which scramble to use for his/her queries.