Skip to content

Web console: add more query fixing auto suggestions#11203

Merged
vogievetsky merged 9 commits intoapache:masterfrom
implydata:intelisense
Jun 4, 2021
Merged

Web console: add more query fixing auto suggestions#11203
vogievetsky merged 9 commits intoapache:masterfrom
implydata:intelisense

Conversation

@vogievetsky
Copy link
Copy Markdown
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.

Comment thread web-console/package.json
"start": "webpack serve --hot --open"
},
"engines": {
"node": ">=14"
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants