-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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: Adds option to disable drill to detail per database #27536
feat: Adds option to disable drill to detail per database #27536
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #27536 +/- ##
==========================================
+ Coverage 67.46% 69.82% +2.35%
==========================================
Files 1910 1910
Lines 74802 74812 +10
Branches 8345 8346 +1
==========================================
+ Hits 50467 52234 +1767
+ Misses 22284 20526 -1758
- Partials 2051 2052 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
d1d91ea
to
27920d2
Compare
/testenv up |
@michael-s-molina Ephemeral environment spinning up at http://52.36.126.48:8080. Credentials are |
Thanks @michael-s-molina for adding this option. My only question relates to:
and whether this should be configured at the database or dataset level. I'm not sure if it's typical that non-viable use cases are typically engine specific or dataset specific, though—as you point out—access to the underly records is likely database specific. Note the drill-to-detail feature doesn't strictly require atomic level data, i.e., it works with Druid where the underlying data is typically rolled-up, however users are only exposed to the (partially) pre-aggregated records. |
I'm thinking more about databases that only contain aggregated data but not the atomic data that was used to compute the aggregations. In those cases, drill to detail won't make sense. |
I think they are not mutually exclusive. We could have the same setting at the dataset level. I decided to start at the database level because I think the more common scenario is to have databases with no atomic data or large amounts of data. We may also have many virtual datasets, making the configuration harder. |
27920d2
to
3177f66
Compare
superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx
Outdated
Show resolved
Hide resolved
090fa64
to
82850e3
Compare
6604ca9
to
012b69e
Compare
Ephemeral environment shutdown and build artifacts deleted. |
(cherry picked from commit 6e52842)
(cherry picked from commit 6e52842)
SUMMARY
This PR adds an option to disable the drill to detail feature per database. This is useful for databases that don't support atomic-level queries or contain large amounts of data not suitable for this type of operation.
During the planning phase of 4.0, the proposal to deprecate the
DRILL_TO_DETAIL
feature flag was rejected for the same reasons this PR is introducing this configuration. The hope is that with this new feature, we can deprecate the feature flag in the next major release. @mattitooBEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Screen.Recording.2024-03-15.at.15.36.00.mov
TESTING INSTRUCTIONS
Check that the drill to detail feature can be disabled/enabled for a specific database.
ADDITIONAL INFORMATION