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

No SQL mode in web console #7493

Merged
merged 14 commits into from
Apr 23, 2019
Merged

Conversation

shuqi7
Copy link
Contributor

@shuqi7 shuqi7 commented Apr 16, 2019

@shuqi7 shuqi7 changed the title No SQL mode in web console [WIP] No SQL mode in web console Apr 17, 2019
@shuqi7 shuqi7 changed the title [WIP] No SQL mode in web console No SQL mode in web console Apr 17, 2019
Copy link
Contributor

@vogievetsky vogievetsky left a comment

Choose a reason for hiding this comment

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

Can you tell that I am not a fan of reduce?

web-console/src/views/home-view.tsx Outdated Show resolved Hide resolved
web-console/src/views/home-view.tsx Outdated Show resolved Hide resolved
web-console/src/views/home-view.tsx Outdated Show resolved Hide resolved
web-console/src/views/home-view.tsx Outdated Show resolved Hide resolved
web-console/src/views/segments-view.tsx Outdated Show resolved Hide resolved
web-console/src/views/servers-view.tsx Outdated Show resolved Hide resolved
web-console/src/console-application.tsx Outdated Show resolved Hide resolved
web-console/src/console-application.tsx Outdated Show resolved Hide resolved
@vogievetsky
Copy link
Contributor

Made a quick note on the wording of the notice and I think it is good otherwise. 👍 once my comment above is addressed.

let servers: ServerQueryResultRow[];
if (!noSqlMode) {
servers = await queryDruidSql({ query });
if (servers.length === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you add a comment here about why we are doing this, also link in the comment to #7498 and #7005

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will implement another way of querying the servers in a separate PR

@clintropolis clintropolis merged commit 11a7e91 into apache:master Apr 23, 2019
@clintropolis clintropolis deleted the console-no-sql branch April 23, 2019 23:15
clintropolis pushed a commit to implydata/druid-public that referenced this pull request May 2, 2019
* Added no sql mode

* Use status code

* Add no sql mode to server view

* add sql broker check to decide if no sql mode should be enabled

* Fix historicals in home view

* Name change

* Add types for query result; improved functions

* Fixed a conflict/bug

* Fixed a bug

* multiple fix

* removed unused imports

* terminate query manager

* fix wording
@jihoonson jihoonson added this to the 0.15.0 milestone May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants