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

[sqla] Fixing order-by for non-inner-joins #6862

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

john-bodley
Copy link
Member

@john-bodley john-bodley commented Feb 13, 2019

This PR fixes an issue for sort-by in timeseries when using a non-inner-join SQL dialect e.g. Druid. Previously the subquery was using the main metric in the order by rather than adhering to the time series limit query if present.

to: @betodealmeida @michellethomas @mistercrunch

@john-bodley john-bodley force-pushed the john-bodley--orderby-debug branch 2 times, most recently from c85f0dd to 8a45d56 Compare February 13, 2019 01:07
@codecov-io
Copy link

codecov-io commented Feb 13, 2019

Codecov Report

Merging #6862 into master will increase coverage by 0.09%.
The diff coverage is 54.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6862      +/-   ##
==========================================
+ Coverage   56.22%   56.32%   +0.09%     
==========================================
  Files         527      527              
  Lines       23529    23534       +5     
  Branches     2782     2782              
==========================================
+ Hits        13229    13255      +26     
+ Misses       9888     9867      -21     
  Partials      412      412
Impacted Files Coverage Δ
superset/connectors/sqla/models.py 81.48% <54.54%> (-0.02%) ⬇️
superset/views/core.py 75.01% <0%> (+0.28%) ⬆️
superset/models/core.py 83.56% <0%> (+0.62%) ⬆️
superset/db_engine_specs.py 53.82% <0%> (+1.84%) ⬆️

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 3f47c61...0f190ad. Read the comment docs.

@john-bodley john-bodley added !deprecated-label:bug Deprecated label - Use #bug instead v0.30 labels Feb 13, 2019
@john-bodley john-bodley merged commit 5728946 into apache:master Feb 15, 2019
@john-bodley john-bodley deleted the john-bodley--orderby-debug branch February 15, 2019 19:23
john-bodley added a commit that referenced this pull request Feb 15, 2019
graceguo-supercat pushed a commit to graceguo-supercat/superset that referenced this pull request Mar 18, 2019
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0 labels Feb 28, 2024
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels !deprecated-label:bug Deprecated label - Use #bug instead v0.30 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants