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

Wrap query with limit within the web console #7449

Merged
merged 3 commits into from
Apr 12, 2019
Merged

Conversation

vogievetsky
Copy link
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
Contributor

fjy commented Apr 11, 2019

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

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