From 902dafde484e1b7a6ccd5e8d073fd2761e7f5605 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com> Date: Wed, 17 Jan 2024 10:16:04 -0300 Subject: [PATCH] chore: Sets the DRILL_BY feature flag to True by default (#26637) --- RESOURCES/FEATURE_FLAGS.md | 2 +- UPDATING.md | 1 + superset/config.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RESOURCES/FEATURE_FLAGS.md b/RESOURCES/FEATURE_FLAGS.md index 4b78d7e997..ab625c9251 100644 --- a/RESOURCES/FEATURE_FLAGS.md +++ b/RESOURCES/FEATURE_FLAGS.md @@ -43,7 +43,6 @@ These features are **finished** but currently being tested. They are usable, but - CACHE_IMPERSONATION - CONFIRM_DASHBOARD_DIFF - DASHBOARD_VIRTUALIZATION -- DRILL_BY - DRILL_TO_DETAIL - DYNAMIC_PLUGINS: [(docs)](https://superset.apache.org/docs/installation/running-on-kubernetes) - ENABLE_JAVASCRIPT_CONTROLS @@ -68,6 +67,7 @@ These features flags are **safe for production**. They have been tested and will - DASHBOARD_RBAC [(docs)](https://superset.apache.org/docs/creating-charts-dashboards/first-dashboard#manage-access-to-dashboards) - DATAPANEL_CLOSED_BY_DEFAULT - DISABLE_LEGACY_DATASOURCE_EDITOR +- DRILL_BY - DRUID_JOINS - EMBEDDABLE_CHARTS - EMBEDDED_SUPERSET diff --git a/UPDATING.md b/UPDATING.md index 584be223a5..6c7e719fc8 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -36,6 +36,7 @@ assists people when migrating to a new version. - [26369](https://github.com/apache/superset/issues/26369): Removes the Filter Sets feature including the deprecated `DASHBOARD_NATIVE_FILTERS_SET` feature flag and all related API endpoints. The feature is permanently removed as it was not being actively maintained, it was not widely used, and it was full of bugs. We also considered that if we were to provide a similar feature, it would be better to re-implement it from scratch given the amount of technical debt that the current implementation has. The previous value of the feature flag was `False` and now the feature is permanently removed. - [26343](https://github.com/apache/superset/issues/26343): Removes the deprecated `ENABLE_EXPLORE_DRAG_AND_DROP` feature flag. The previous value of the feature flag was `True` and now the feature is permanently enabled. - [26331](https://github.com/apache/superset/issues/26331): Removes the deprecated `DISABLE_DATASET_SOURCE_EDIT` feature flag. The previous value of the feature flag was `False` and now the feature is permanently removed. +- [26637](https://github.com/apache/superset/issues/26637): Sets the `DRILL_BY` feature flag to `True` by default given that the feature has been tested for a while and reached a stable state. ### Potential Downtime diff --git a/superset/config.py b/superset/config.py index fc81191e47..7615bd31f5 100644 --- a/superset/config.py +++ b/superset/config.py @@ -473,7 +473,7 @@ DEFAULT_FEATURE_FLAGS: dict[str, bool] = { # Enable sharing charts with embedding "EMBEDDABLE_CHARTS": True, "DRILL_TO_DETAIL": True, - "DRILL_BY": False, + "DRILL_BY": True, "DATAPANEL_CLOSED_BY_DEFAULT": False, "HORIZONTAL_FILTER_BAR": False, # The feature is off by default, and currently only supported in Presto and Postgres,