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

Implement query linter suggestions #1306

Merged
merged 5 commits into from
Aug 14, 2023
Merged

Implement query linter suggestions #1306

merged 5 commits into from
Aug 14, 2023

Conversation

kgopal492
Copy link
Contributor

  • Create PrestoOptimizingValidator that uses sqlglot tokenizer to suggestion query optimizations
  • Update UI to support allowing user to accept linter suggestions

Create a PrestoOptimizingValidator that extends the PrestoExplainValidator to run validators that provide suggestions to rewrite & optimize the query the query
Create a new tooltip for users to accept query optimization suggestions
* Update querybook version, fix PrestoOptimizingValidator
@kgopal492 kgopal492 merged commit c1359f4 into master Aug 14, 2023
4 checks passed
@kgopal492 kgopal492 deleted the dev-query-optimization branch August 14, 2023 16:51
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
* Implement Presto SQLGlot Optimizers (pinterest#1300)

Create a PrestoOptimizingValidator that extends the PrestoExplainValidator to run validators that provide suggestions to rewrite & optimize the query the query

* Implement UI for query optimization suggestions (pinterest#1302)

Create a new tooltip for users to accept query optimization suggestions

* Update querybook version, fix PrestoOptimizingValidator (pinterest#1304)

* Fix minor UI suggestions (pinterest#1305)
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

Successfully merging this pull request may close these issues.

2 participants