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

[druid] Adding cluster filter for refresh #4602

Merged

Conversation

john-bodley
Copy link
Member

This PR fixes an issue with syncing of Druid datasources where the datasource name is not globally unique. Previously the filter didn't include the cluster name (unique) which is required as the cluster/datasource tuple ensures global uniqueness.

Note I also replace the OR filter with the more efficient IN.

@codecov-io
Copy link

Codecov Report

Merging #4602 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4602   +/-   ##
=======================================
  Coverage   71.18%   71.18%           
=======================================
  Files         189      189           
  Lines       14845    14845           
  Branches     1086     1086           
=======================================
  Hits        10567    10567           
  Misses       4275     4275           
  Partials        3        3
Impacted Files Coverage Δ
superset/connectors/druid/models.py 76.28% <ø> (ø) ⬆️

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 8951990...9604e1d. Read the comment docs.

@michellethomas
Copy link
Contributor

lgtm

@john-bodley john-bodley merged commit 037c041 into apache:master Mar 13, 2018
john-bodley added a commit to john-bodley/superset that referenced this pull request Mar 13, 2018
…c-fix-filter

[druid] Adding cluster filter for refresh
(cherry picked from commit 037c041)
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
…c-fix-filter

[druid] Adding cluster filter for refresh
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.

None yet

3 participants