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

Pass timezone to Druid Query granularity #4648

Merged
merged 1 commit into from Apr 3, 2018
Merged

Pass timezone to Druid Query granularity #4648

merged 1 commit into from Apr 3, 2018

Conversation

ktong
Copy link
Contributor

@ktong ktong commented Mar 20, 2018

superset appends DRUID_TZ info to intervals but not to granularity which causes one day's data return as 2 days. This fix is also pass DRUID_TZ to granularity.

superset appends DRUID_TZ info to intervals but not to granularity which causes one day's data return as 2 days. This fix is also pass DRUID_TZ to granularity.
@codecov-io
Copy link

codecov-io commented Mar 20, 2018

Codecov Report

Merging #4648 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4648   +/-   ##
=======================================
  Coverage   71.23%   71.23%           
=======================================
  Files         190      190           
  Lines       14884    14884           
  Branches     1099     1099           
=======================================
  Hits        10602    10602           
  Misses       4279     4279           
  Partials        3        3
Impacted Files Coverage Δ
superset/connectors/druid/models.py 76.31% <100%> (ø) ⬆️

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 5c98f56...0057229. Read the comment docs.

@fabianmenges
Copy link
Contributor

This looks good but I'm always worried about TZ changes. Will try to give it a test on our side.

@ktong
Copy link
Contributor Author

ktong commented Apr 2, 2018

@mistercrunch mistercrunch merged commit aa4173d into apache:master Apr 3, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
superset appends DRUID_TZ info to intervals but not to granularity which causes one day's data return as 2 days. This fix is also pass DRUID_TZ to granularity.
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
superset appends DRUID_TZ info to intervals but not to granularity which causes one day's data return as 2 days. This fix is also pass DRUID_TZ to granularity.
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
superset appends DRUID_TZ info to intervals but not to granularity which causes one day's data return as 2 days. This fix is also pass DRUID_TZ to granularity.
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.25.0 labels Feb 27, 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 🚢 0.25.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants