-
Notifications
You must be signed in to change notification settings - Fork 14k
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
feat: Adding limiting_factor column to Query model #14234
Merged
betodealmeida
merged 2 commits into
apache:master
from
preset-io:addNewColumnsToQueryModel
Apr 29, 2021
Merged
feat: Adding limiting_factor column to Query model #14234
betodealmeida
merged 2 commits into
apache:master
from
preset-io:addNewColumnsToQueryModel
Apr 29, 2021
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
AAfghahi
changed the title
add limiting factor to query model
feat: Adding limiting_factor column to Query model
Apr 19, 2021
Codecov Report
@@ Coverage Diff @@
## master #14234 +/- ##
=======================================
Coverage 76.79% 76.79%
=======================================
Files 955 955
Lines 48251 48251
Branches 6030 6030
=======================================
Hits 37055 37055
Misses 11001 11001
Partials 195 195
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
dpgaspar
reviewed
Apr 21, 2021
superset/migrations/versions/d416d0d715cc_add_limiting_factor_column_to_query_.py
Outdated
Show resolved
Hide resolved
1 task
AAfghahi
force-pushed
the
addNewColumnsToQueryModel
branch
from
April 27, 2021 22:21
8028b67
to
9db249b
Compare
betodealmeida
approved these changes
Apr 29, 2021
amitmiran137
pushed a commit
to nielsen-oss/superset
that referenced
this pull request
May 3, 2021
* master: (38 commits) refactor(native-filters): allow cascading only for filter_select (apache#14441) test(maximize-chart): Add tests to maximize chart action (apache#14371) fix: fixing mysql error message (apache#14416) feat: Logic added to limiting factor column in Query model (apache#13521) change relationship (apache#14435) fix: bootstrap data permissions (apache#14348) fix: parse simple string error message values (apache#14360) chore: add stack trace to all calls of logger.error (apache#14382) update README with new docs and recordings (apache#14432) Renamed impyla from implya in impala.mdx and Renamed PIP package impyla from impala in index.mdx (apache#14425) fix(native-filters): fix filter scope error (apache#14426) feat: Adding limiting_factor column to Query model (apache#14234) feat: Add etag caching to dashboard APIs (apache#14357) chore: Moves Card to the components folder (apache#14139) feat: Dynamic imports for the Icons component (apache#14318) feat: Support env vars configuration for WebSocket server (apache#14398) fix: SQLLab role permissions (apache#14372) fix(native-filters): always show filters without dataset (apache#14409) fix error getting partitionQuery from table.partition (apache#14369) refactor: Boostrap to AntD - Tabs (apache#14048) ...
john-bodley
added a commit
that referenced
this pull request
May 7, 2021
8 tasks
john-bodley
added a commit
that referenced
this pull request
May 7, 2021
cccs-RyanS
pushed a commit
to CybercentreCanada/superset
that referenced
this pull request
Dec 17, 2021
QAlexBall
pushed a commit
to QAlexBall/superset
that referenced
this pull request
Dec 29, 2021
* add limiting factor to query model * varchar instead of enum
QAlexBall
pushed a commit
to QAlexBall/superset
that referenced
this pull request
Dec 29, 2021
cccs-rc
pushed a commit
to CybercentreCanada/superset
that referenced
this pull request
Mar 6, 2024
mistercrunch
added
🏷️ bot
A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels
🚢 1.2.0
labels
Mar 12, 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
risk:db-migration
PRs that require a DB migration
size/M
🚢 1.2.0
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
Adding a new enum column to the query table which would indicate if the query model is limited and what the limiting factor would be.
Reason
Will be used in the frontend for better user facing messages. Previously several users had complained that they had downloaded the CSV of a query not realizing that the query had been limited either by the dropdown select or their own query parameters. This column will address using backend logic to determine what type of limiting factor, if any, has been placed on the query.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
Benchmarking the migration using #13561:
ADDITIONAL INFORMATION