-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
fix(annotations): time grain column #26140
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #26140 +/- ##
==========================================
+ Coverage 69.01% 69.05% +0.03%
==========================================
Files 1934 1934
Lines 75605 75604 -1
Branches 8414 8414
==========================================
+ Hits 52181 52208 +27
+ Misses 21264 21236 -28
Partials 2160 2160
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
zephyring
reviewed
Nov 30, 2023
Antonio-RiveroMartnez
approved these changes
Nov 30, 2023
michael-s-molina
added
v3.0
Label added by the release manager to track PRs to be included in the 3.0 branch
v3.1
Label added by the release manager to track PRs to be included in the 3.1 branch
labels
Dec 1, 2023
michael-s-molina
pushed a commit
that referenced
this pull request
Dec 4, 2023
(cherry picked from commit cff473f)
michael-s-molina
pushed a commit
that referenced
this pull request
Dec 4, 2023
(cherry picked from commit cff473f)
josedev-union
pushed a commit
to Ortege-xyz/studio
that referenced
this pull request
Jan 22, 2024
(cherry picked from commit cff473f)
mistercrunch
added
🍒 3.0.3
🍒 3.0.4
🍒 3.1.0
🍒 3.1.1
🏷️ bot
A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels
labels
Mar 8, 2024
sfirke
pushed a commit
to sfirke/superset
that referenced
this pull request
Mar 22, 2024
vinothkumar66
pushed a commit
to vinothkumar66/superset
that referenced
this pull request
Nov 11, 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
size/M
v3.0
Label added by the release manager to track PRs to be included in the 3.0 branch
v3.1
Label added by the release manager to track PRs to be included in the 3.1 branch
🍒 3.0.3
🍒 3.0.4
🍒 3.1.0
🍒 3.1.1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
A confusing bug in the annotation layers... it seems that in the form data the
granularity
attribute stores the time grain (eg,P1D
for daily time grain):superset/superset-frontend/src/explore/controls.jsx
Lines 248 to 270 in f1a6b2f
But in the request payload,
granularity
should point to the column name, not the grain:superset/superset/charts/schemas.py
Lines 1146 to 1149 in f1a6b2f
When generating an annotation query we need to move things around to match the form data to the request schema.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION