Repository navigation
fix(table): Use extras in queries - #30335
Merged
Antonio-RiveroMartnez merged 3 commits intoSep 19, 2024
Merged
Antonio-RiveroMartnez merged 3 commits into
Antonio-RiveroMartnez merged 3 commits into
Conversation
Antonio-RiveroMartnez
force-pushed
the
fix_table_extras_query
branch
from
September 19, 2024 11:56
cff717f to
ecc2376
Compare
Antonio-RiveroMartnez
requested review from
geido,
kgabryje and
michael-s-molina
and removed request for
a team
September 19, 2024 11:58
giftig
reviewed
Sep 19, 2024
giftig
reviewed
Sep 19, 2024
giftig
reviewed
Sep 19, 2024
giftig
approved these changes
Sep 19, 2024
giftig
left a comment
Contributor
There was a problem hiding this comment.
Minor suggestions but LGTM
… removed - DRY on test file - fix typos
giftig
approved these changes
Sep 19, 2024
2 of 3 tasks
sadpandajoe
pushed a commit
that referenced
this pull request
Sep 19, 2024
(cherry picked from commit 6c2bd2a)
1 of 9 tasks
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Tablechart was removing theextrasfrom the summary query, assuming they were only used for time grains. This PR fixes that and put the extras back in the queryObject sent as payload, now, only excludingtime_grain_sqlaif no temporal column is included in your chart.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before: Excluding extras from summary query and only adding it if no time comparison was used

Now: Sending extras in the total query regardless you're using time comparison


No temporal Column
With temporal Column
TESTING INSTRUCTIONS
TableChartShow summarycheckboxwherein extras for both queries and not include atime_grain_sqlatime_grain_sqlamust be present in the extras alongside with thewhereclauseADDITIONAL INFORMATION
show summarydoes not correctly apply all filters #30193