Skip to content

Commit

Permalink
chore: Remove obsolete Druid NoSQL REGEX operator (#24415)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Jun 17, 2023
1 parent 884a8b5 commit db65b74
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions superset-frontend/src/explore/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down
2 changes: 0 additions & 2 deletions superset/utils/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",)
Expand Down

0 comments on commit db65b74

Please sign in to comment.