You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scan data source specified by its id and optionally by specified scan request. *CatalogScanResultPdm* contains PDM and warnings. Warnings contain information about columns which were not added to the PDM because their data types are not supported. Additional parameter report_warnings can be passed to suppress or to report warnings. By default warnings are returned but not reported to STDOUT. If you set report_warnings to True, warnings are reported to STDOUT.
This method combines *scan_data_source* and *put_declarative_pdm* methods.
240
+
241
+
* ``scan_schemata(data_source_id: str)``
242
+
243
+
Returns *list[str]*.
244
+
245
+
Returns a list of schemas that exist in the database and 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.
246
+
231
247
**Example usage:**
232
248
233
249
.. code-block:: python
@@ -240,6 +256,14 @@ The *gooddata_sdk.catalog_data_source* supports the following action API calls:
Copy file name to clipboardExpand all lines: gooddata-sdk/docs/services/catalog-workspace-content.rst
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,13 @@ The *gooddata_sdk.catalog_workspace_content* supports the following declarative
69
69
70
70
Returns *CatalogDeclarativeModel*.
71
71
72
-
Retrieve a logical model layout. On CatalogDeclarativeModel user can call ``modify_mapped_data_source(data_source_mapping: dict)`` method, which substitues data source id in datasets.
72
+
Retrieve a logical model layout. On CatalogDeclarativeModel user can call ``modify_mapped_data_source(data_source_mapping: dict)`` method, which substitutes data source id in datasets.
Put a logical data model into a given workspace. You can pass an additional validator parameter which checks that for every data source id in the logical data model the corresponding data source exists.
This method combines *load_declarative_ldm* and *put_declarative_ldm*
104
-
methods to load and set layouts stored using *store_declarative_ldm*.
104
+
methods to load and set layouts stored using *store_declarative_ldm*. You can pass an additional validator parameter which checks that for every data source id in the logical data model the corresponding data source exists.
105
105
106
106
**Analytics Model:**
107
107
@@ -113,9 +113,9 @@ The *gooddata_sdk.catalog_workspace_content* supports the following declarative
Copy file name to clipboardExpand all lines: gooddata-sdk/docs/services/catalog-workspace.rst
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ on workspaces:
12
12
The service supports two types of methods:
13
13
14
14
* Entity methods let you work with workspaces on a high level using simplified *CatalogWorkspace* entities.
15
-
* Declarative methods allow you to work with workpaces on a more granular level by fetching entire workspace layouts, including all of their nested objects.
15
+
* Declarative methods allow you to work with workspaces on a more granular level by fetching entire workspace layouts, including all of their nested objects.
16
16
17
17
Entity methods
18
18
^^^^^^^^^^^^^^
@@ -67,7 +67,7 @@ The *gooddata_sdk.catalog_workspace* supports the following entity API calls:
0 commit comments