Skip to content

Commit

Permalink
CLDN-1710 including schema in search columns for datasets api (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-nik authored and GITHUB_USERNAME committed Feb 7, 2023
1 parent a5a40e2 commit b8663e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/datasets/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class DatasetRestApi(BaseSupersetModelRestApi):
"sql": [DatasetIsNullOrEmptyFilter],
"id": [DatasetCertifiedFilter],
}
search_columns = ["id", "database", "owners", "sql", "table_name"]
search_columns = ["id", "database", "owners", "schema", "sql", "table_name"]
filter_rel_fields = {"database": [["id", DatabaseFilter, lambda: []]]}
allowed_rel_fields = {"database", "owners"}
allowed_distinct_fields = {"schema"}
Expand Down

0 comments on commit b8663e9

Please sign in to comment.