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

Web console: add more query fixing auto suggestions #11203

Merged
merged 9 commits into from
Jun 4, 2021

Conversation

vogievetsky
Copy link
Contributor

@vogievetsky vogievetsky commented May 5, 2021

This PR improves the auto suggestions for queries and just makes the query experience just a little bit better.

image

It also improves query intelligence when fractional indexes are used (like GROUP BY 1.5) which is strange but supported by Druid/Calcite - who am I to judge?

Syntax like FETCH NEXT 5 ROWS ONLY is now supported in highlighting

This PR has:

  • been self-reviewed.
  • been tested in a test Druid cluster.

@@ -54,6 +51,13 @@
"check-licenses": "license-checker --production --onlyAllow 'Apache-1.1;Apache-2.0;BSD-2-Clause;BSD-3-Clause;0BSD;MIT;CC0-1.0' --summary",
"start": "webpack serve --hot --open"
},
"engines": {
"node": ">=14"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this stuff mean? do we need to update the nodejs version we use to build this when using maven? https://github.com/apache/druid/blob/master/pom.xml#L103 (this is also used by website builds afaik)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too complex for me to think about... with the website interaction that is. I added it to inform the local dev tools. I think if you are developing on the web console locally you really want node > 10 for some of the dev dependancies. I will remove the engines entry.

@vogievetsky
Copy link
Contributor Author

Thank you for the review and the help with figuring out POM files @clintropolis

@vogievetsky vogievetsky merged commit 0c5d1c9 into apache:master Jun 4, 2021
@vogievetsky vogievetsky deleted the intelisense branch June 4, 2021 16:29
@clintropolis clintropolis added this to the 0.22.0 milestone Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants