diff --git a/UPDATING.md b/UPDATING.md index d6c6f71668fe5..41a120f31078d 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -34,6 +34,7 @@ assists people when migrating to a new version. ### Breaking Changes +- [24415](https://github.com/apache/superset/pull/24415): Removed the obsolete Druid NoSQL REGEX operator. - [24423](https://github.com/apache/superset/pull/24423): Removed deprecated APIs `/superset/slice_json/...`, `/superset/annotation_json/...` - [24400](https://github.com/apache/superset/pull/24400): Removed deprecated APIs `/superset/recent_activity/...`, `/superset/fave_dashboards_by_username/...`, `/superset/fave_dashboards/...`, `/superset/created_dashboards/...`, `/superset/user_slices/`, `/superset/created_slices/...`, `/superset/fave_slices/...`, `/superset/favstar/...`, - [24401](https://github.com/apache/superset/pull/24401): Removes the deprecated `metrics` column (which was blossomed in [20732](https://github.com/apache/superset/pull/20732)) from the `/api/v1/dataset/` API. diff --git a/superset-frontend/src/explore/constants.ts b/superset-frontend/src/explore/constants.ts index e539c16de754f..09362f423d7dd 100644 --- a/superset-frontend/src/explore/constants.ts +++ b/superset-frontend/src/explore/constants.ts @@ -39,7 +39,6 @@ export enum Operators { NOT_IN = 'NOT_IN', LIKE = 'LIKE', ILIKE = 'ILIKE', - REGEX = 'REGEX', IS_NOT_NULL = 'IS_NOT_NULL', IS_NULL = 'IS_NULL', LATEST_PARTITION = 'LATEST_PARTITION', @@ -75,7 +74,6 @@ export const OPERATOR_ENUM_TO_OPERATOR_TYPE: { display: t('Like (case insensitive)'), operation: 'ILIKE', }, - [Operators.REGEX]: { display: t('Regex'), operation: 'REGEX' }, [Operators.IS_NOT_NULL]: { display: t('Is not null'), operation: 'IS NOT NULL', diff --git a/superset/utils/core.py b/superset/utils/core.py index 3a97c73fdef69..125a406bf5d6a 100644 --- a/superset/utils/core.py +++ b/superset/utils/core.py @@ -236,7 +236,6 @@ class FilterOperator(str, Enum): IS_NOT_NULL = "IS NOT NULL" IN = "IN" NOT_IN = "NOT IN" - REGEX = "REGEX" IS_TRUE = "IS TRUE" IS_FALSE = "IS FALSE" TEMPORAL_RANGE = "TEMPORAL_RANGE" @@ -253,7 +252,6 @@ class FilterStringOperators(str, Enum): NOT_IN = ("NOT_IN",) ILIKE = ("ILIKE",) LIKE = ("LIKE",) - REGEX = ("REGEX",) IS_NOT_NULL = ("IS_NOT_NULL",) IS_NULL = ("IS_NULL",) LATEST_PARTITION = ("LATEST_PARTITION",)