Skip to content

Wrap query with limit within the web console#7449

Merged
fjy merged 3 commits intoapache:masterfrom
implydata:wrap-query
Apr 12, 2019
Merged

Wrap query with limit within the web console#7449
fjy merged 3 commits intoapache:masterfrom
implydata:wrap-query

Conversation

@vogievetsky
Copy link
Copy Markdown
Contributor

@vogievetsky vogievetsky commented Apr 11, 2019

This PR makes a few improvements to the perceived querying ability of Druid and also a few style fixes

image

Also:

image

Most importantly this PR will auto wrap SQL queries issues via the SQL tab with a ``SELECT * FROM (...) LIMIT 5000this addresses the issue that the user is likely to type inSELECT * FROM huge_data_source` as their first query and if that is executed verbatim they will not get a good impression of druid. I might have done just that earlier today. This query wrapping can be disabled.

This PR also:

  • fixes the styling of checkboxes in side of dropdowns
  • adds the option to 'bypass cache' in the query view

@vogievetsky vogievetsky changed the title wrap with limit Wrap query with limit within the web console Apr 11, 2019
@fjy
Copy link
Copy Markdown
Contributor

fjy commented Apr 11, 2019

@vogievetsky this needs to be more obvious, i.e. right beside the run button

@vogievetsky
Copy link
Copy Markdown
Contributor Author

@fjy noted: made the button more explicit (see updated screenshot in description)

@fjy fjy added this to the 0.15.0 milestone Apr 12, 2019
@fjy fjy merged commit 60dd75d into apache:master Apr 12, 2019
gianm pushed a commit to implydata/druid-public that referenced this pull request Apr 14, 2019
* wrap with limit

* make actual menu checkbox component
@vogievetsky vogievetsky deleted the wrap-query branch May 9, 2019 00:21
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.

3 participants