This documentation is for an older version of GoodData.
Go to the latest version of this article.
CatalogDataSourceService.
scan_schemata
scan_schemata(
data_source_id: str
) ->
list[str]
Returns a list of schemas that exist in the database.
Can be configured in the data source entity. Data source managers like Dremio or Drill can work with multiple schemas and schema names can be injected into scan_request to filter out tables stored in the different schemas.
Parameters
name | type | description |
---|---|---|
data_source_id | str | Data Source identification string. e.g. "demo" |
Returns
type | description |
---|---|
list[str] | List of schema names for the given data source specified by its id. |