Skip to content

No SQL mode in web console#7493

Merged
clintropolis merged 14 commits intoapache:masterfrom
implydata:console-no-sql
Apr 23, 2019
Merged

No SQL mode in web console#7493
clintropolis merged 14 commits intoapache:masterfrom
implydata:console-no-sql

Conversation

@shuqi7
Copy link
Copy Markdown
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
Copy Markdown
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?

Comment thread web-console/src/views/home-view.tsx Outdated
Comment thread web-console/src/views/home-view.tsx Outdated
Comment thread web-console/src/views/home-view.tsx Outdated
Comment thread web-console/src/views/home-view.tsx Outdated
Comment thread web-console/src/views/segments-view.tsx Outdated
Comment thread web-console/src/views/servers-view.tsx Outdated
Comment thread web-console/src/console-application.tsx Outdated
Comment thread web-console/src/console-application.tsx Outdated
Comment thread web-console/src/console-application.tsx Outdated
@vogievetsky
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

0.14 incubating New router unified-console UI shows 0 historical nodes when a cluster has been installed and historicals has no data yet

5 participants