Celery task for warming up cache#7148
Merged
Merged
Conversation
* Exclude venv for python linter to ignore * Fix NaN error
This PR sets the background-color css property on `.ace_scroller` instead of `.ace_content` to prevent the white background shown during resizing of the SQL editor before drag ends.
* added more functionalities for query context and object. * fixed cache logic * added default value for groupby * updated comments and removed print (cherry picked from commit d5b9795)
(cherry picked from commit 6a4d507)
…esh (apache#7027) (cherry picked from commit cc58f0e)
* Add ability to change font sizes in Big Number * rename big number to header * Add comment to clarify font size values
(cherry picked from commit 7f3c145)
(cherry picked from commit 05be866)
(cherry picked from commit a6d48d4)
…pache#7035) (cherry picked from commit 0782e83)
(cherry picked from commit ead3d48)
…g. (apache#7037) * Update datasource.py * Update datasource.py (cherry picked from commit c771625)
(cherry picked from commit 48431ab)
(cherry picked from commit 3e076cb)
* Adding extraOverrides to line chart * Updating extraOverrides to fit with more cases * Moving extraOverrides to index.js * Removing webpack-merge in package.json * Fixing metrics control clearing metric (cherry picked from commit e619405)
(cherry picked from commit 61add60)
…he#7082) closes apache#7080 (cherry picked from commit 9b58e9f)
* Fix filter_box migration PR apache#6523 * Fix druid-related bug (cherry picked from commit b210742)
This PR includes the following layout and css tweaks: - Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox - Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane - Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars - css tweaks on the basic.html page so the loading animation appears in the center of the page across the board (cherry picked from commit 71f1bbd)
(cherry picked from commit e83a07d)
(cherry picked from commit 2ff721a)
(cherry picked from commit 003364e)
Package maintainers should really never delete packages, but it appears this happened with croniter and resulted in breaking our builds. This PR bumps to a more recent existing version of the library (cherry picked from commit 215ed39)
a15703f to
62cfb2d
Compare
* Exclude venv for python linter to ignore * Fix NaN error
(cherry picked from commit 7f3c145)
This PR includes the following layout and css tweaks: - Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox - Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane - Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars - css tweaks on the basic.html page so the loading animation appears in the center of the page across the board (cherry picked from commit 71f1bbd)
Codecov Report
@@ Coverage Diff @@
## lyftga #7148 +/- ##
==========================================
+ Coverage 64.5% 64.57% +0.06%
==========================================
Files 424 425 +1
Lines 20668 20785 +117
Branches 2268 2268
==========================================
+ Hits 13332 13422 +90
- Misses 7213 7240 +27
Partials 123 123
Continue to review full report at Codecov.
|
|
thanks for the work! Let's see how it works and adding more improvements. |
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
* Sparkline dates aren't formatting in Time Series Table (apache#6976) * Exclude venv for python linter to ignore * Fix NaN error * Fix the white background shown in SQL editor on drag (apache#7021) This PR sets the background-color css property on `.ace_scroller` instead of `.ace_content` to prevent the white background shown during resizing of the SQL editor before drag ends. * Show tooltip with time frame (apache#6979) * Fix time filter control (apache#6978) * Enhancement of query context and object. (apache#6962) * added more functionalities for query context and object. * fixed cache logic * added default value for groupby * updated comments and removed print (cherry picked from commit 326708e) * [fix] /superset/slice/id url is too long (apache#6989) (cherry picked from commit e0fea40) * [WIP] fix user specified JSON metadata not updating dashboard on refresh (apache#7027) (cherry picked from commit 77d114a) * feat: add ability to change font size in big number (apache#7003) * Add ability to change font sizes in Big Number * rename big number to header * Add comment to clarify font size values * Allow LIMIT to be specified in parameters (apache#7052) * [fix] Cursor jumping when editing chart and dashboard titles (apache#7038) (cherry picked from commit c697955) * Changing time table viz to pass formatTime a date (apache#7020) (cherry picked from commit ada7626) * [db-engine-spec] Aligning Hive/Presto partition logic (apache#7007) (cherry picked from commit fafff47) * [fix] explore chart from dashboard missed slice title (apache#7046) (cherry picked from commit 908c608) * fix inaccurate data calculation with adata rolling and contribution (apache#7035) (cherry picked from commit 7a30ad4) * Adding warning message for sqllab save query (apache#7028) (cherry picked from commit ea2ea16) * [datasource] Ensuring consistent behavior of datasource editing/saving. (apache#7037) * Update datasource.py * Update datasource.py (cherry picked from commit 65a6e40) * [csv-upload] Fixing message encoding (apache#6971) (cherry picked from commit 574e213) * [sql-parse] Fixing LIMIT exceptions (apache#6963) (cherry picked from commit bf90829) * Adding custom control overrides (apache#6956) * Adding extraOverrides to line chart * Updating extraOverrides to fit with more cases * Moving extraOverrides to index.js * Removing webpack-merge in package.json * Fixing metrics control clearing metric (cherry picked from commit eb603c7) * [sqlparse] Fixing table name extraction for ill-defined query (apache#7029) (cherry picked from commit d0d9cba) * [missing values] Removing replacing missing values (apache#4905) (cherry picked from commit ed93b4c) * [SQL Lab] Improved query and results tabs rendering reliability (apache#7082) closes apache#7080 (cherry picked from commit 7ee4b18) * Fix filter_box migration PR apache#6523 (apache#7066) * Fix filter_box migration PR apache#6523 * Fix druid-related bug (cherry picked from commit 7063e6c) * SQL editor layout makeover (apache#7102) This PR includes the following layout and css tweaks: - Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox - Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane - Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars - css tweaks on the basic.html page so the loading animation appears in the center of the page across the board (cherry picked from commit 62c1a8d) * [forms] Fix handling of NULLs (cherry picked from commit e83a07d) * handle null column_name in sqla and druid models (cherry picked from commit 2ff721a) * Use metric name instead of metric in filter box (apache#7106) (cherry picked from commit 542125b) * Bump python lib croniter to an existing version (apache#7132) Package maintainers should really never delete packages, but it appears this happened with croniter and resulted in breaking our builds. This PR bumps to a more recent existing version of the library (cherry picked from commit d7b90c4) * Revert PR apache#6933 (apache#7162) * Celery worker for warming up cache * Remove testing changes * Add documentation * Fix lint * WIP dashboard filters * Use new cache so it works with dashboards * Add more unit tests, fix old ones * Fix flake8 and docs * Sparkline dates aren't formatting in Time Series Table (apache#6976) * Exclude venv for python linter to ignore * Fix NaN error * Changing time table viz to pass formatTime a date (apache#7020) (cherry picked from commit ada7626) * SQL editor layout makeover (apache#7102) This PR includes the following layout and css tweaks: - Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox - Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane - Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars - css tweaks on the basic.html page so the loading animation appears in the center of the page across the board (cherry picked from commit 62c1a8d) * Celery worker for warming up cache * Remove testing changes * Add documentation * Fix lint * WIP dashboard filters * Use new cache so it works with dashboards * Add more unit tests, fix old ones * Fix flake8 and docs * Fix bad merge and pylint
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.
We have a REST endpoint for warming up caches — let's use it! 😄
I wrote a celery task that periodically hits up the endpoint, based on different strategies. I implemented:
More strategies can be easily added.