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

Cmd+enter shortcut to run query in Pinot data explorer query console #7359

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

priyen
Copy link
Contributor

@priyen priyen commented Aug 24, 2021

Description

Added a shortcut (Cmd + Enter) that can be used to run the query when you are focused on the code editor in the pinot controller query console.
Cmd + Enter is pretty standard in query application tools I've used before.
Just a nice to have and makes running queries feel a bit easier.

Upgrade Notes

Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)
No

Does this PR fix a zero-downtime upgrade introduced earlier?
No

Does this PR otherwise need attention when creating release notes? Things to consider:
No

Release Notes

n/a

-->

Documentation

pinot-contrib/pinot-docs#58

*Description*

Add a shortcut (Cmd + Enter) that can be used to run the query when you are focused on the code editor in the pinot controller query console.
Cmd + Enter is pretty standard in query application tools I've used before.
Just a nice to have and makes running queries feel a bit easier.
priyen added a commit to priyen/pinot-docs that referenced this pull request Aug 24, 2021
Just adding docs about the cmd + enter shortcut I want to add as part of apache/pinot#7359
@priyen
Copy link
Contributor Author

priyen commented Aug 24, 2021

@jackjlli

@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2021

Codecov Report

Merging #7359 (6dcdad1) into master (2d1f7dc) will decrease coverage by 41.31%.
The diff coverage is n/a.

❗ Current head 6dcdad1 differs from pull request most recent head ee24ae2. Consider uploading reports for the commit ee24ae2 to get more accurate results
Impacted file tree graph

@@              Coverage Diff              @@
##             master    #7359       +/-   ##
=============================================
- Coverage     71.65%   30.33%   -41.32%     
+ Complexity     3305       87     -3218     
=============================================
  Files          1515     1506        -9     
  Lines         74992    74644      -348     
  Branches      10903    10865       -38     
=============================================
- Hits          53736    22645    -31091     
- Misses        17629    49992    +32363     
+ Partials       3627     2007     -1620     
Flag Coverage Δ
integration1 30.33% <ø> (-0.04%) ⬇️
integration2 ?
unittests1 ?
unittests2 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...c/main/java/org/apache/pinot/common/tier/Tier.java 0.00% <0.00%> (-100.00%) ⬇️
.../java/org/apache/pinot/spi/utils/BooleanUtils.java 0.00% <0.00%> (-100.00%) ⬇️
...ava/org/apache/pinot/spi/data/MetricFieldSpec.java 0.00% <0.00%> (-100.00%) ⬇️
...va/org/apache/pinot/spi/utils/BigDecimalUtils.java 0.00% <0.00%> (-100.00%) ⬇️
...java/org/apache/pinot/common/tier/TierFactory.java 0.00% <0.00%> (-100.00%) ⬇️
...a/org/apache/pinot/spi/config/table/TableType.java 0.00% <0.00%> (-100.00%) ⬇️
.../org/apache/pinot/spi/data/DimensionFieldSpec.java 0.00% <0.00%> (-100.00%) ⬇️
.../org/apache/pinot/spi/data/readers/FileFormat.java 0.00% <0.00%> (-100.00%) ⬇️
...org/apache/pinot/spi/config/table/QuotaConfig.java 0.00% <0.00%> (-100.00%) ⬇️
...org/apache/pinot/spi/config/tenant/TenantRole.java 0.00% <0.00%> (-100.00%) ⬇️
... and 1042 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d1f7dc...ee24ae2. Read the comment docs.

Copy link
Member

@jackjlli jackjlli left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for working on this!

@priyen
Copy link
Contributor Author

priyen commented Aug 25, 2021

Thanks @jackjlli - can you merge this in? (and also look at the documentation PR pinot-contrib/pinot-docs#58 if you have time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants