-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: printing q-errors nicely + explains (#122)
**Summary**: Now printing aggregate q-errors, per-query q-errors, and EXPLAIN results to facilitate experimentation. **Demo**: ![Screenshot 2024-03-21 at 13 34 13](https://github.com/cmu-db/optd/assets/20631215/795f42f8-42a6-45f2-bd5e-c44fd6b8cff3) ![Screenshot 2024-03-21 at 13 28 24](https://github.com/cmu-db/optd/assets/20631215/f9b1be74-1e48-4878-a4f9-26c7f68dd49c) **Details**: * Automatically prints the `EXPLAIN` results of all queries from all DBs to info. Use `RUST_LOG=info` to see them. Use `--query-ids X` to just investigate one specific query. * Now handles edge case where file indicating that a db was created exists but the db doesn't actually exist. * Gracefully handles the case of infinite q-errors. * Deleted dev_scripts. Moved to [gungnir-experiments](https://github.com/wangpatrick57/gungnir-experiments). * Uses `prettytable-rs` for printing.
- Loading branch information
1 parent
cdef513
commit 368bcd6
Showing
11 changed files
with
448 additions
and
141 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.