From de2b13e32c441438637f3016c9c288535a104c30 Mon Sep 17 00:00:00 2001 From: hkad98 Date: Thu, 14 Dec 2023 15:23:11 +0100 Subject: [PATCH] Regenerate API client --- gooddata-api-client/.openapi-generator/FILES | 8 +- gooddata-api-client/README.md | 5 +- gooddata-api-client/docs/ActionsApi.md | 70 +- gooddata-api-client/docs/ComputationApi.md | 2 +- gooddata-api-client/docs/ElementsRequest.md | 2 +- gooddata-api-client/docs/EntitiesApi.md | 6 +- .../docs/GetStagingLocationApi.md | 76 - .../docs/JsonApiWorkspaceOutMeta.md | 2 + ...md => JsonApiWorkspaceOutMetaDataModel.md} | 6 +- .../docs/JsonApiWorkspaceOutMetaHierarchy.md | 12 + .../docs/OrganizationModelControllerApi.md | 6 +- .../docs/WorkspacesEntityAPIsApi.md | 6 +- .../gooddata_api_client/api/actions_api.py | 133 -- .../gooddata_api_client/api/entities_api.py | 6 + .../api/get_staging_location_api.py | 171 -- .../api/organization_model_controller_api.py | 6 + .../api/workspaces_entity_apis_api.py | 6 + .../gooddata_api_client/apis/__init__.py | 1 - .../model/declarative_data_source.py | 2 +- .../model/elements_request.py | 4 +- ...i_data_source_identifier_out_attributes.py | 2 +- .../json_api_data_source_in_attributes.py | 2 +- .../json_api_data_source_out_attributes.py | 2 +- .../json_api_data_source_patch_attributes.py | 2 +- .../model/json_api_workspace_out_meta.py | 12 + ...json_api_workspace_out_meta_data_model.py} | 28 +- .../json_api_workspace_out_meta_hierarchy.py | 270 +++ .../model/test_definition_request.py | 2 +- .../gooddata_api_client/models/__init__.py | 3 +- .../execute_compute_table_all_columns.yaml | 4 +- .../execute_compute_table_metrics_only.yaml | 4 +- ...ompute_table_with_reduced_granularity.yaml | 4 +- .../fixtures/execute_insight_all_columns.yaml | 10 +- .../execute_insight_some_columns.yaml | 10 +- .../import_compute_without_restrictions.yaml | 1144 +++------- .../import_insights_without_restrictions.yaml | 1367 ++++------- ...ame_for_exec_def_bytes_limits_failure.yaml | 8 +- ...or_exec_def_dimensions_limits_failure.yaml | 8 +- .../dataframe_for_exec_def_one_dim1.yaml | 14 +- .../dataframe_for_exec_def_one_dim2.yaml | 26 +- .../dataframe_for_exec_def_totals1.yaml | 14 +- .../dataframe_for_exec_def_totals2.yaml | 14 +- .../dataframe_for_exec_def_totals3.yaml | 14 +- .../dataframe_for_exec_def_totals4.yaml | 14 +- .../dataframe_for_exec_def_two_dim1.yaml | 20 +- .../dataframe_for_exec_def_two_dim2.yaml | 18 +- .../dataframe_for_exec_def_two_dim3.yaml | 14 +- .../fixtures/dataframe_for_insight.yaml | 1108 +++------ .../fixtures/dataframe_for_insight_date.yaml | 1103 +++------ .../dataframe_for_insight_no_index.yaml | 1154 +++------- .../fixtures/dataframe_for_items.yaml | 1102 +++------ .../dataframe_for_items_no_index.yaml | 1102 +++------ .../fixtures/empty_indexed_dataframe.yaml | 1102 +++------ .../fixtures/empty_not_indexed_dataframe.yaml | 1102 +++------ ...ulti_index_filtered_metrics_and_label.yaml | 1102 +++------ ...ndex_filtered_metrics_and_label_reuse.yaml | 818 ++----- .../fixtures/multi_index_metrics.yaml | 1102 +++------ .../multi_index_metrics_and_label.yaml | 878 ++----- ...t_indexed_filtered_metrics_and_labels.yaml | 818 ++----- .../fixtures/not_indexed_metrics.yaml | 1082 +++------ .../not_indexed_metrics_and_labels.yaml | 1054 +++------ ...mple_index_filtered_metrics_and_label.yaml | 1102 +++------ .../fixtures/simple_index_metrics.yaml | 1102 +++------ .../simple_index_metrics_and_label.yaml | 1148 +++------- .../simple_index_metrics_no_duplicate.yaml | 1102 +++------ .../fixtures/multi_index_filtered_series.yaml | 1054 +++------ .../fixtures/multi_index_metric_series.yaml | 1054 +++------ .../not_indexed_filtered_metric_series.yaml | 2024 +++++------------ .../fixtures/not_indexed_label_series.yaml | 1054 +++------ ...indexed_label_series_with_granularity.yaml | 1054 +++------ .../fixtures/not_indexed_metric_series.yaml | 1054 +++------ ...ndexed_metric_series_with_granularity.yaml | 1054 +++------ .../simple_index_filtered_series.yaml | 1278 ++++------- .../fixtures/simple_index_label_series.yaml | 1054 +++------ .../fixtures/simple_index_metric_series.yaml | 1082 +++------ .../fixtures/data_sources/bigquery.yaml | 6 +- .../data_sources/demo_data_sources_list.yaml | 2 +- .../demo_generate_logical_model.yaml | 12 +- ...load_and_put_declarative_data_sources.yaml | 5 +- ...t_declarative_data_sources_connection.yaml | 2 +- .../demo_register_upload_notification.yaml | 82 +- ...o_scan_pdm_and_generate_logical_model.yaml | 12 +- .../demo_store_declarative_data_sources.yaml | 10 +- .../catalog/fixtures/data_sources/dremio.yaml | 6 +- .../catalog/fixtures/data_sources/patch.yaml | 14 +- .../fixtures/data_sources/redshift.yaml | 6 +- .../fixtures/data_sources/snowflake.yaml | 6 +- .../data_sources/test_create_update.yaml | 18 +- .../fixtures/data_sources/vertica.yaml | 6 +- .../fixtures/organization/create_jwk.yaml | 2 +- .../organization/delete_csp_directive.yaml | 2 +- .../fixtures/organization/delete_jwk.yaml | 4 +- .../delete_organization_setting.yaml | 2 +- .../fixtures/organization/list_jwk.yaml | 4 +- .../fixtures/organization/organization.yaml | 5 +- .../organization/update_allowed_origins.yaml | 19 +- .../fixtures/organization/update_jwk.yaml | 2 +- .../fixtures/organization/update_name.yaml | 41 +- .../organization/update_oidc_settings.yaml | 31 +- .../permissions/list_available_assignees.yaml | 4 +- ...ard_permissions_declarative_workspace.yaml | 100 +- .../fixtures/users/create_delete_user.yaml | 42 +- .../users/create_delete_user_group.yaml | 24 +- .../fixtures/users/get_declarative_users.yaml | 8 +- .../get_declarative_users_user_groups.yaml | 8 +- .../catalog/fixtures/users/get_user.yaml | 2 +- .../catalog/fixtures/users/list_users.yaml | 4 +- .../load_and_put_declarative_user_groups.yaml | 34 +- .../users/load_and_put_declarative_users.yaml | 14 +- ...and_put_declarative_users_user_groups.yaml | 14 +- .../users/put_declarative_user_groups.yaml | 12 +- .../fixtures/users/put_declarative_users.yaml | 40 +- .../put_declarative_users_user_groups.yaml | 40 +- .../users/store_declarative_user_groups.yaml | 4 +- .../users/store_declarative_users.yaml | 12 +- .../store_declarative_users_user_groups.yaml | 12 +- .../users/test_user_add_user_group.yaml | 2 +- .../users/test_user_add_user_groups.yaml | 2 +- .../users/test_user_remove_user_groups.yaml | 2 +- .../users/test_user_replace_user_groups.yaml | 2 +- .../catalog/fixtures/users/update_user.yaml | 34 +- .../fixtures/users/update_user_group.yaml | 12 +- .../analytics_store_load.yaml | 176 +- .../workspace_content/demo_catalog.yaml | 638 +++--- .../demo_catalog_availability.yaml | 638 +++--- .../demo_catalog_list_attributes.yaml | 334 +-- .../demo_catalog_list_facts.yaml | 32 +- .../demo_catalog_list_labels.yaml | 292 +-- .../demo_catalog_list_metrics.yaml | 48 +- .../demo_get_dependent_entities_graph.yaml | 222 +- ...and_modify_ds_and_put_declarative_ldm.yaml | 6 +- ...d_and_put_declarative_analytics_model.yaml | 4 +- .../demo_load_and_put_declarative_ldm.yaml | 4 +- .../demo_put_declarative_analytics_model.yaml | 2 +- .../demo_put_declarative_ldm.yaml | 2 +- ...emo_store_declarative_analytics_model.yaml | 180 +- .../demo_store_declarative_ldm.yaml | 4 +- .../explicit_workspace_data_filter.yaml | 638 +++--- .../workspaces/create_workspace_setting.yaml | 2 +- .../workspaces/delete_workspace_setting.yaml | 2 +- .../workspaces/demo_clone_workspace.yaml | 670 +++--- .../workspaces/demo_create_workspace.yaml | 2 +- ...and_put_declarative_user_data_filters.yaml | 2 +- ...mo_load_and_put_declarative_workspace.yaml | 2 +- ...ut_declarative_workspace_data_filters.yaml | 2 +- ...o_load_and_put_declarative_workspaces.yaml | 2 +- .../demo_put_declarative_workspace.yaml | 2 +- ...o_store_declarative_user_data_filters.yaml | 4 +- .../demo_store_declarative_workspace.yaml | 4 +- ...re_declarative_workspace_data_filters.yaml | 4 +- .../demo_store_declarative_workspaces.yaml | 180 +- .../workspaces/demo_translate_workspace.yaml | 272 +-- .../demo_update_workspace_valid.yaml | 16 +- .../workspaces/list_workspace_settings.yaml | 4 +- .../workspaces/update_workspace_setting.yaml | 2 +- .../user_data_filters_life_cycle.yaml | 6 +- .../export/fixtures/test_export_csv.yaml | 10 +- .../test_export_csv_by_insight_id.yaml | 36 +- .../export/fixtures/test_export_excel.yaml | 26 +- .../test_export_excel_by_insight_id.yaml | 216 +- .../table_with_attribute_and_metric.yaml | 4 +- ...able_with_attribute_metric_and_filter.yaml | 4 +- .../table_with_attribute_show_all_values.yaml | 12 +- .../fixtures/table_with_just_attribute.yaml | 4 +- .../fixtures/table_with_just_metric.yaml | 4 +- schemas/gooddata-afm-client.json | 6 +- schemas/gooddata-api-client.json | 113 +- schemas/gooddata-metadata-client.json | 105 +- schemas/gooddata-scan-client.json | 2 +- 169 files changed, 12595 insertions(+), 27475 deletions(-) delete mode 100644 gooddata-api-client/docs/GetStagingLocationApi.md rename gooddata-api-client/docs/{StagingUploadLocation.md => JsonApiWorkspaceOutMetaDataModel.md} (65%) create mode 100644 gooddata-api-client/docs/JsonApiWorkspaceOutMetaHierarchy.md delete mode 100644 gooddata-api-client/gooddata_api_client/api/get_staging_location_api.py rename gooddata-api-client/gooddata_api_client/model/{staging_upload_location.py => json_api_workspace_out_meta_data_model.py} (92%) create mode 100644 gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index 13946e1de..e039fe2a2 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -165,7 +165,6 @@ docs/FilterDefinition.md docs/FilterDefinitionForSimpleMeasure.md docs/GenerateLdmRequest.md docs/GenerateLogicalDataModelApi.md -docs/GetStagingLocationApi.md docs/GrainIdentifier.md docs/GrantedPermission.md docs/GranularitiesFormatting.md @@ -538,6 +537,8 @@ docs/JsonApiWorkspaceOutDocument.md docs/JsonApiWorkspaceOutList.md docs/JsonApiWorkspaceOutMeta.md docs/JsonApiWorkspaceOutMetaConfig.md +docs/JsonApiWorkspaceOutMetaDataModel.md +docs/JsonApiWorkspaceOutMetaHierarchy.md docs/JsonApiWorkspaceOutWithLinks.md docs/JsonApiWorkspacePatch.md docs/JsonApiWorkspacePatchDocument.md @@ -632,7 +633,6 @@ docs/SortKeyTotalTotal.md docs/SortKeyValue.md docs/SortKeyValueValue.md docs/SqlColumn.md -docs/StagingUploadLocation.md docs/TableWarning.md docs/TabularExportRequest.md docs/TestConnectionApi.md @@ -697,7 +697,6 @@ gooddata_api_client/api/entitlement_api.py gooddata_api_client/api/exporting_api.py gooddata_api_client/api/facts_api.py gooddata_api_client/api/generate_logical_data_model_api.py -gooddata_api_client/api/get_staging_location_api.py gooddata_api_client/api/hierarchy_api.py gooddata_api_client/api/invalidate_cache_api.py gooddata_api_client/api/jwks_api.py @@ -1245,6 +1244,8 @@ gooddata_api_client/model/json_api_workspace_out_document.py gooddata_api_client/model/json_api_workspace_out_list.py gooddata_api_client/model/json_api_workspace_out_meta.py gooddata_api_client/model/json_api_workspace_out_meta_config.py +gooddata_api_client/model/json_api_workspace_out_meta_data_model.py +gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py gooddata_api_client/model/json_api_workspace_out_with_links.py gooddata_api_client/model/json_api_workspace_patch.py gooddata_api_client/model/json_api_workspace_patch_document.py @@ -1326,7 +1327,6 @@ gooddata_api_client/model/sort_key_total_total.py gooddata_api_client/model/sort_key_value.py gooddata_api_client/model/sort_key_value_value.py gooddata_api_client/model/sql_column.py -gooddata_api_client/model/staging_upload_location.py gooddata_api_client/model/table_warning.py gooddata_api_client/model/tabular_export_request.py gooddata_api_client/model/test_definition_request.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 1a98ea596..e89aea9fc 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -190,7 +190,6 @@ Class | Method | HTTP request | Description *FactsApi* | [**get_all_entities_facts**](docs/FactsApi.md#get_all_entities_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts | Get all Facts *FactsApi* | [**get_entity_facts**](docs/FactsApi.md#get_entity_facts) | **GET** /api/v1/entities/workspaces/{workspaceId}/facts/{objectId} | Get a Fact *GenerateLogicalDataModelApi* | [**generate_logical_model**](docs/GenerateLogicalDataModelApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) -*GetStagingLocationApi* | [**get_staging_upload_location**](docs/GetStagingLocationApi.md#get_staging_upload_location) | **POST** /api/v1/actions/dataSources/{dataSourceId}/staging/upload | Get a staging upload location *HierarchyApi* | [**check_entity_overrides**](docs/HierarchyApi.md#check_entity_overrides) | **POST** /api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides | Finds entities with given ID in hierarchy. *HierarchyApi* | [**inherited_entity_conflicts**](docs/HierarchyApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. *HierarchyApi* | [**inherited_entity_prefixes**](docs/HierarchyApi.md#inherited_entity_prefixes) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes | Get used entity prefixes in hierarchy @@ -328,7 +327,6 @@ Class | Method | HTTP request | Description *ActionsApi* | [**get_exported_file**](docs/ActionsApi.md#get_exported_file) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId} | Retrieve exported files *ActionsApi* | [**get_group_members**](docs/ActionsApi.md#get_group_members) | **GET** /api/v1/actions/userManagement/userGroups/{userGroupId}/members | *ActionsApi* | [**get_metadata**](docs/ActionsApi.md#get_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata | Retrieve metadata context -*ActionsApi* | [**get_staging_upload_location**](docs/ActionsApi.md#get_staging_upload_location) | **POST** /api/v1/actions/dataSources/{dataSourceId}/staging/upload | Get a staging upload location *ActionsApi* | [**get_tabular_export**](docs/ActionsApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files *ActionsApi* | [**inherited_entity_conflicts**](docs/ActionsApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. *ActionsApi* | [**inherited_entity_prefixes**](docs/ActionsApi.md#inherited_entity_prefixes) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes | Get used entity prefixes in hierarchy @@ -1206,6 +1204,8 @@ Class | Method | HTTP request | Description - [JsonApiWorkspaceOutList](docs/JsonApiWorkspaceOutList.md) - [JsonApiWorkspaceOutMeta](docs/JsonApiWorkspaceOutMeta.md) - [JsonApiWorkspaceOutMetaConfig](docs/JsonApiWorkspaceOutMetaConfig.md) + - [JsonApiWorkspaceOutMetaDataModel](docs/JsonApiWorkspaceOutMetaDataModel.md) + - [JsonApiWorkspaceOutMetaHierarchy](docs/JsonApiWorkspaceOutMetaHierarchy.md) - [JsonApiWorkspaceOutWithLinks](docs/JsonApiWorkspaceOutWithLinks.md) - [JsonApiWorkspacePatch](docs/JsonApiWorkspacePatch.md) - [JsonApiWorkspacePatchDocument](docs/JsonApiWorkspacePatchDocument.md) @@ -1287,7 +1287,6 @@ Class | Method | HTTP request | Description - [SortKeyValue](docs/SortKeyValue.md) - [SortKeyValueValue](docs/SortKeyValueValue.md) - [SqlColumn](docs/SqlColumn.md) - - [StagingUploadLocation](docs/StagingUploadLocation.md) - [TableWarning](docs/TableWarning.md) - [TabularExportRequest](docs/TabularExportRequest.md) - [TestDefinitionRequest](docs/TestDefinitionRequest.md) diff --git a/gooddata-api-client/docs/ActionsApi.md b/gooddata-api-client/docs/ActionsApi.md index 388aa36d5..10698b3a3 100644 --- a/gooddata-api-client/docs/ActionsApi.md +++ b/gooddata-api-client/docs/ActionsApi.md @@ -23,7 +23,6 @@ Method | HTTP request | Description [**get_exported_file**](ActionsApi.md#get_exported_file) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId} | Retrieve exported files [**get_group_members**](ActionsApi.md#get_group_members) | **GET** /api/v1/actions/userManagement/userGroups/{userGroupId}/members | [**get_metadata**](ActionsApi.md#get_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata | Retrieve metadata context -[**get_staging_upload_location**](ActionsApi.md#get_staging_upload_location) | **POST** /api/v1/actions/dataSources/{dataSourceId}/staging/upload | Get a staging upload location [**get_tabular_export**](ActionsApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files [**inherited_entity_conflicts**](ActionsApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. [**inherited_entity_prefixes**](ActionsApi.md#inherited_entity_prefixes) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityPrefixes | Get used entity prefixes in hierarchy @@ -360,7 +359,7 @@ with gooddata_api_client.ApiClient() as api_client: workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier elements_request = ElementsRequest( complement_filter=False, - data_sampling_percentage=100, + data_sampling_percentage=100.0, depends_on=[ DependsOn( complement_filter=False, @@ -1651,73 +1650,6 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **get_staging_upload_location** -> StagingUploadLocation get_staging_upload_location(data_source_id) - -Get a staging upload location - -Provides a location for uploading staging files. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import actions_api -from gooddata_api_client.model.staging_upload_location import StagingUploadLocation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - data_source_id = "dataSourceId_example" # str | - - # example passing only required values which don't have defaults set - try: - # Get a staging upload location - api_response = api_instance.get_staging_upload_location(data_source_id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling ActionsApi->get_staging_upload_location: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **data_source_id** | **str**| | - -### Return type - -[**StagingUploadLocation**](StagingUploadLocation.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Staging upload location was registered. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **get_tabular_export** > get_tabular_export(workspace_id, export_id) diff --git a/gooddata-api-client/docs/ComputationApi.md b/gooddata-api-client/docs/ComputationApi.md index 73607e33e..60ee682b4 100644 --- a/gooddata-api-client/docs/ComputationApi.md +++ b/gooddata-api-client/docs/ComputationApi.md @@ -46,7 +46,7 @@ with gooddata_api_client.ApiClient() as api_client: workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier elements_request = ElementsRequest( complement_filter=False, - data_sampling_percentage=100, + data_sampling_percentage=100.0, depends_on=[ DependsOn( complement_filter=False, diff --git a/gooddata-api-client/docs/ElementsRequest.md b/gooddata-api-client/docs/ElementsRequest.md index 7a0b4e880..cfc2d7345 100644 --- a/gooddata-api-client/docs/ElementsRequest.md +++ b/gooddata-api-client/docs/ElementsRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **label** | **str** | Requested label. | **complement_filter** | **bool** | Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter``` | [optional] if omitted the server will use the default value of False -**data_sampling_percentage** | **float** | Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation. | [optional] if omitted the server will use the default value of 100 +**data_sampling_percentage** | **float** | Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation. | [optional] if omitted the server will use the default value of 100.0 **depends_on** | [**[DependsOn]**](DependsOn.md) | Return only items, whose are not filtered out by the parent filters. | [optional] **exact_filter** | **[str, none_type]** | Return only items, whose ```label``` title exactly matches one of ```filter```. | [optional] **exclude_primary_label** | **bool** | Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label | [optional] if omitted the server will use the default value of False diff --git a/gooddata-api-client/docs/EntitiesApi.md b/gooddata-api-client/docs/EntitiesApi.md index fa2d040b6..c333b8927 100644 --- a/gooddata-api-client/docs/EntitiesApi.md +++ b/gooddata-api-client/docs/EntitiesApi.md @@ -2136,7 +2136,7 @@ with gooddata_api_client.ApiClient() as api_client: "include=parent", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -6395,7 +6395,7 @@ with gooddata_api_client.ApiClient() as api_client: "sort_example", ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -9169,7 +9169,7 @@ with gooddata_api_client.ApiClient() as api_client: "include=parent", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/GetStagingLocationApi.md b/gooddata-api-client/docs/GetStagingLocationApi.md deleted file mode 100644 index f8984a547..000000000 --- a/gooddata-api-client/docs/GetStagingLocationApi.md +++ /dev/null @@ -1,76 +0,0 @@ -# gooddata_api_client.GetStagingLocationApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_staging_upload_location**](GetStagingLocationApi.md#get_staging_upload_location) | **POST** /api/v1/actions/dataSources/{dataSourceId}/staging/upload | Get a staging upload location - - -# **get_staging_upload_location** -> StagingUploadLocation get_staging_upload_location(data_source_id) - -Get a staging upload location - -Provides a location for uploading staging files. - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import get_staging_location_api -from gooddata_api_client.model.staging_upload_location import StagingUploadLocation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = get_staging_location_api.GetStagingLocationApi(api_client) - data_source_id = "dataSourceId_example" # str | - - # example passing only required values which don't have defaults set - try: - # Get a staging upload location - api_response = api_instance.get_staging_upload_location(data_source_id) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling GetStagingLocationApi->get_staging_upload_location: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **data_source_id** | **str**| | - -### Return type - -[**StagingUploadLocation**](StagingUploadLocation.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Staging upload location was registered. | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/gooddata-api-client/docs/JsonApiWorkspaceOutMeta.md b/gooddata-api-client/docs/JsonApiWorkspaceOutMeta.md index 77b3bd985..e3696bf2a 100644 --- a/gooddata-api-client/docs/JsonApiWorkspaceOutMeta.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceOutMeta.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config** | [**JsonApiWorkspaceOutMetaConfig**](JsonApiWorkspaceOutMetaConfig.md) | | [optional] +**data_model** | [**JsonApiWorkspaceOutMetaDataModel**](JsonApiWorkspaceOutMetaDataModel.md) | | [optional] +**hierarchy** | [**JsonApiWorkspaceOutMetaHierarchy**](JsonApiWorkspaceOutMetaHierarchy.md) | | [optional] **permissions** | **[str]** | List of valid permissions for a logged-in user. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/StagingUploadLocation.md b/gooddata-api-client/docs/JsonApiWorkspaceOutMetaDataModel.md similarity index 65% rename from gooddata-api-client/docs/StagingUploadLocation.md rename to gooddata-api-client/docs/JsonApiWorkspaceOutMetaDataModel.md index b4fb2c7dd..17a0852bf 100644 --- a/gooddata-api-client/docs/StagingUploadLocation.md +++ b/gooddata-api-client/docs/JsonApiWorkspaceOutMetaDataModel.md @@ -1,12 +1,10 @@ -# StagingUploadLocation +# JsonApiWorkspaceOutMetaDataModel -Information related to uploading a file to the staging area. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**location** | **str** | Location relative to the root of the storage. | -**upload_url** | **str** | Pre-signed upload URL to PUT the file to. | +**dataset_count** | **int** | include the number of dataset of each workspace | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiWorkspaceOutMetaHierarchy.md b/gooddata-api-client/docs/JsonApiWorkspaceOutMetaHierarchy.md new file mode 100644 index 000000000..c6e914ef4 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiWorkspaceOutMetaHierarchy.md @@ -0,0 +1,12 @@ +# JsonApiWorkspaceOutMetaHierarchy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**children_count** | **int** | include the number of direct children of each workspace | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/OrganizationModelControllerApi.md b/gooddata-api-client/docs/OrganizationModelControllerApi.md index 9ce40bffc..b8a35d1d1 100644 --- a/gooddata-api-client/docs/OrganizationModelControllerApi.md +++ b/gooddata-api-client/docs/OrganizationModelControllerApi.md @@ -801,7 +801,7 @@ with gooddata_api_client.ApiClient() as api_client: "include=parent", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -2403,7 +2403,7 @@ with gooddata_api_client.ApiClient() as api_client: "sort_example", ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -3349,7 +3349,7 @@ with gooddata_api_client.ApiClient() as api_client: "include=parent", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md b/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md index d2eecf62b..e3f5acc39 100644 --- a/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md +++ b/gooddata-api-client/docs/WorkspacesEntityAPIsApi.md @@ -62,7 +62,7 @@ with gooddata_api_client.ApiClient() as api_client: "include=parent", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -226,7 +226,7 @@ with gooddata_api_client.ApiClient() as api_client: "sort_example", ] # [str] | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set @@ -306,7 +306,7 @@ with gooddata_api_client.ApiClient() as api_client: "include=parent", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ - "metaInclude=config,permissions,all", + "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", ] # [str] | Include Meta objects. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/gooddata_api_client/api/actions_api.py b/gooddata-api-client/gooddata_api_client/api/actions_api.py index b908ee9e3..8f057fc05 100644 --- a/gooddata-api-client/gooddata_api_client/api/actions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/actions_api.py @@ -55,7 +55,6 @@ from gooddata_api_client.model.scan_result_pdm import ScanResultPdm from gooddata_api_client.model.scan_sql_request import ScanSqlRequest from gooddata_api_client.model.scan_sql_response import ScanSqlResponse -from gooddata_api_client.model.staging_upload_location import StagingUploadLocation from gooddata_api_client.model.tabular_export_request import TabularExportRequest from gooddata_api_client.model.test_definition_request import TestDefinitionRequest from gooddata_api_client.model.test_request import TestRequest @@ -1201,55 +1200,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.get_staging_upload_location_endpoint = _Endpoint( - settings={ - 'response_type': (StagingUploadLocation,), - 'auth': [], - 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/staging/upload', - 'operation_id': 'get_staging_upload_location', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'data_source_id', - ], - 'required': [ - 'data_source_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'data_source_id': - (str,), - }, - 'attribute_map': { - 'data_source_id': 'dataSourceId', - }, - 'location_map': { - 'data_source_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) self.get_tabular_export_endpoint = _Endpoint( settings={ 'response_type': None, @@ -4307,89 +4257,6 @@ def get_metadata( export_id return self.get_metadata_endpoint.call_with_http_info(**kwargs) - def get_staging_upload_location( - self, - data_source_id, - **kwargs - ): - """Get a staging upload location # noqa: E501 - - Provides a location for uploading staging files. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_staging_upload_location(data_source_id, async_req=True) - >>> result = thread.get() - - Args: - data_source_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - StagingUploadLocation - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['data_source_id'] = \ - data_source_id - return self.get_staging_upload_location_endpoint.call_with_http_info(**kwargs) - def get_tabular_export( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/entities_api.py b/gooddata-api-client/gooddata_api_client/api/entities_api.py index faef1d4a8..ae0409a4e 100644 --- a/gooddata-api-client/gooddata_api_client/api/entities_api.py +++ b/gooddata-api-client/gooddata_api_client/api/entities_api.py @@ -1703,6 +1703,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, @@ -5814,6 +5816,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, @@ -8522,6 +8526,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, diff --git a/gooddata-api-client/gooddata_api_client/api/get_staging_location_api.py b/gooddata-api-client/gooddata_api_client/api/get_staging_location_api.py deleted file mode 100644 index 457425993..000000000 --- a/gooddata-api-client/gooddata_api_client/api/get_staging_location_api.py +++ /dev/null @@ -1,171 +0,0 @@ -""" - OpenAPI definition - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v0 - Contact: support@gooddata.com - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from gooddata_api_client.api_client import ApiClient, Endpoint as _Endpoint -from gooddata_api_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from gooddata_api_client.model.staging_upload_location import StagingUploadLocation - - -class GetStagingLocationApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_staging_upload_location_endpoint = _Endpoint( - settings={ - 'response_type': (StagingUploadLocation,), - 'auth': [], - 'endpoint_path': '/api/v1/actions/dataSources/{dataSourceId}/staging/upload', - 'operation_id': 'get_staging_upload_location', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'data_source_id', - ], - 'required': [ - 'data_source_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'data_source_id': - (str,), - }, - 'attribute_map': { - 'data_source_id': 'dataSourceId', - }, - 'location_map': { - 'data_source_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_staging_upload_location( - self, - data_source_id, - **kwargs - ): - """Get a staging upload location # noqa: E501 - - Provides a location for uploading staging files. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_staging_upload_location(data_source_id, async_req=True) - >>> result = thread.get() - - Args: - data_source_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - StagingUploadLocation - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['data_source_id'] = \ - data_source_id - return self.get_staging_upload_location_endpoint.call_with_http_info(**kwargs) - diff --git a/gooddata-api-client/gooddata_api_client/api/organization_model_controller_api.py b/gooddata-api-client/gooddata_api_client/api/organization_model_controller_api.py index 7b040d034..2e3a59a7e 100644 --- a/gooddata-api-client/gooddata_api_client/api/organization_model_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/organization_model_controller_api.py @@ -564,6 +564,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, @@ -1929,6 +1931,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, @@ -2760,6 +2764,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, diff --git a/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py index cf3b1b909..173b23a59 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspaces_entity_apis_api.py @@ -84,6 +84,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, @@ -225,6 +227,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, @@ -326,6 +330,8 @@ def __init__(self, api_client=None): "CONFIG": "config", "PERMISSIONS": "permissions", + "HIERARCHY": "hierarchy", + "DATAMODELDATASETS": "dataModelDatasets", "ALL": "all", "ALL": "ALL" }, diff --git a/gooddata-api-client/gooddata_api_client/apis/__init__.py b/gooddata-api-client/gooddata_api_client/apis/__init__.py index 5236e3886..54913c775 100644 --- a/gooddata-api-client/gooddata_api_client/apis/__init__.py +++ b/gooddata-api-client/gooddata_api_client/apis/__init__.py @@ -34,7 +34,6 @@ from gooddata_api_client.api.exporting_api import ExportingApi from gooddata_api_client.api.facts_api import FactsApi from gooddata_api_client.api.generate_logical_data_model_api import GenerateLogicalDataModelApi -from gooddata_api_client.api.get_staging_location_api import GetStagingLocationApi from gooddata_api_client.api.hierarchy_api import HierarchyApi from gooddata_api_client.api.invalidate_cache_api import InvalidateCacheApi from gooddata_api_client.api.jwks_api import JWKSApi diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py index 823420cc5..77544dfee 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_data_source.py @@ -77,7 +77,7 @@ class DeclarativeDataSource(ModelNormal): 'AZURESQL': "AZURESQL", 'SYNAPSESQL': "SYNAPSESQL", 'DATABRICKS': "DATABRICKS", - 'GD_STORAGE': "GD_STORAGE", + 'GDSTORAGE': "GDSTORAGE", 'CLICKHOUSE': "CLICKHOUSE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/elements_request.py b/gooddata-api-client/gooddata_api_client/model/elements_request.py index b38c9cd71..59b2f9f77 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_request.py @@ -172,7 +172,7 @@ def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) complement_filter (bool): Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter```. [optional] if omitted the server will use the default value of False # noqa: E501 - data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100 # noqa: E501 + data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100.0 # noqa: E501 depends_on ([DependsOn]): Return only items, whose are not filtered out by the parent filters.. [optional] # noqa: E501 exact_filter ([str, none_type]): Return only items, whose ```label``` title exactly matches one of ```filter```.. [optional] # noqa: E501 exclude_primary_label (bool): Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label. [optional] if omitted the server will use the default value of False # noqa: E501 @@ -269,7 +269,7 @@ def __init__(self, label, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) complement_filter (bool): Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter```. [optional] if omitted the server will use the default value of False # noqa: E501 - data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100 # noqa: E501 + data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100.0 # noqa: E501 depends_on ([DependsOn]): Return only items, whose are not filtered out by the parent filters.. [optional] # noqa: E501 exact_filter ([str, none_type]): Return only items, whose ```label``` title exactly matches one of ```filter```.. [optional] # noqa: E501 exclude_primary_label (bool): Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label. [optional] if omitted the server will use the default value of False # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py index fd045654a..e5200f436 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py @@ -71,7 +71,7 @@ class JsonApiDataSourceIdentifierOutAttributes(ModelNormal): 'AZURESQL': "AZURESQL", 'SYNAPSESQL': "SYNAPSESQL", 'DATABRICKS': "DATABRICKS", - 'GD_STORAGE': "GD_STORAGE", + 'GDSTORAGE': "GDSTORAGE", 'CLICKHOUSE': "CLICKHOUSE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py index 0ac806646..c86872303 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py @@ -75,7 +75,7 @@ class JsonApiDataSourceInAttributes(ModelNormal): 'AZURESQL': "AZURESQL", 'SYNAPSESQL': "SYNAPSESQL", 'DATABRICKS': "DATABRICKS", - 'GD_STORAGE': "GD_STORAGE", + 'GDSTORAGE': "GDSTORAGE", 'CLICKHOUSE': "CLICKHOUSE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py index 3f1ccf794..bff643dbe 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py @@ -75,7 +75,7 @@ class JsonApiDataSourceOutAttributes(ModelNormal): 'AZURESQL': "AZURESQL", 'SYNAPSESQL': "SYNAPSESQL", 'DATABRICKS': "DATABRICKS", - 'GD_STORAGE': "GD_STORAGE", + 'GDSTORAGE': "GDSTORAGE", 'CLICKHOUSE': "CLICKHOUSE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py index 2a210ef0d..1cf996020 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py @@ -75,7 +75,7 @@ class JsonApiDataSourcePatchAttributes(ModelNormal): 'AZURESQL': "AZURESQL", 'SYNAPSESQL': "SYNAPSESQL", 'DATABRICKS': "DATABRICKS", - 'GD_STORAGE': "GD_STORAGE", + 'GDSTORAGE': "GDSTORAGE", 'CLICKHOUSE': "CLICKHOUSE", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py index 705d53d1a..fee661658 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta.py @@ -32,7 +32,11 @@ def lazy_import(): from gooddata_api_client.model.json_api_workspace_out_meta_config import JsonApiWorkspaceOutMetaConfig + from gooddata_api_client.model.json_api_workspace_out_meta_data_model import JsonApiWorkspaceOutMetaDataModel + from gooddata_api_client.model.json_api_workspace_out_meta_hierarchy import JsonApiWorkspaceOutMetaHierarchy globals()['JsonApiWorkspaceOutMetaConfig'] = JsonApiWorkspaceOutMetaConfig + globals()['JsonApiWorkspaceOutMetaDataModel'] = JsonApiWorkspaceOutMetaDataModel + globals()['JsonApiWorkspaceOutMetaHierarchy'] = JsonApiWorkspaceOutMetaHierarchy class JsonApiWorkspaceOutMeta(ModelNormal): @@ -97,6 +101,8 @@ def openapi_types(): lazy_import() return { 'config': (JsonApiWorkspaceOutMetaConfig,), # noqa: E501 + 'data_model': (JsonApiWorkspaceOutMetaDataModel,), # noqa: E501 + 'hierarchy': (JsonApiWorkspaceOutMetaHierarchy,), # noqa: E501 'permissions': ([str],), # noqa: E501 } @@ -107,6 +113,8 @@ def discriminator(): attribute_map = { 'config': 'config', # noqa: E501 + 'data_model': 'dataModel', # noqa: E501 + 'hierarchy': 'hierarchy', # noqa: E501 'permissions': 'permissions', # noqa: E501 } @@ -152,6 +160,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) config (JsonApiWorkspaceOutMetaConfig): [optional] # noqa: E501 + data_model (JsonApiWorkspaceOutMetaDataModel): [optional] # noqa: E501 + hierarchy (JsonApiWorkspaceOutMetaHierarchy): [optional] # noqa: E501 permissions ([str]): List of valid permissions for a logged-in user.. [optional] # noqa: E501 """ @@ -239,6 +249,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) config (JsonApiWorkspaceOutMetaConfig): [optional] # noqa: E501 + data_model (JsonApiWorkspaceOutMetaDataModel): [optional] # noqa: E501 + hierarchy (JsonApiWorkspaceOutMetaHierarchy): [optional] # noqa: E501 permissions ([str]): List of valid permissions for a logged-in user.. [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/staging_upload_location.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_data_model.py similarity index 92% rename from gooddata-api-client/gooddata_api_client/model/staging_upload_location.py rename to gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_data_model.py index 118f438b1..ec8c6f53e 100644 --- a/gooddata-api-client/gooddata_api_client/model/staging_upload_location.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_data_model.py @@ -31,7 +31,7 @@ -class StagingUploadLocation(ModelNormal): +class JsonApiWorkspaceOutMetaDataModel(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -82,8 +82,7 @@ def openapi_types(): and the value is attribute type. """ return { - 'location': (str,), # noqa: E501 - 'upload_url': (str,), # noqa: E501 + 'dataset_count': (int,), # noqa: E501 } @cached_property @@ -92,8 +91,7 @@ def discriminator(): attribute_map = { - 'location': 'location', # noqa: E501 - 'upload_url': 'uploadUrl', # noqa: E501 + 'dataset_count': 'datasetCount', # noqa: E501 } read_only_vars = { @@ -103,12 +101,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, location, upload_url, *args, **kwargs): # noqa: E501 - """StagingUploadLocation - a model defined in OpenAPI + def _from_openapi_data(cls, dataset_count, *args, **kwargs): # noqa: E501 + """JsonApiWorkspaceOutMetaDataModel - a model defined in OpenAPI Args: - location (str): Location relative to the root of the storage. - upload_url (str): Pre-signed upload URL to PUT the file to. + dataset_count (int): include the number of dataset of each workspace Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -172,8 +169,7 @@ def _from_openapi_data(cls, location, upload_url, *args, **kwargs): # noqa: E50 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.location = location - self.upload_url = upload_url + self.dataset_count = dataset_count for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -194,12 +190,11 @@ def _from_openapi_data(cls, location, upload_url, *args, **kwargs): # noqa: E50 ]) @convert_js_args_to_python_args - def __init__(self, location, upload_url, *args, **kwargs): # noqa: E501 - """StagingUploadLocation - a model defined in OpenAPI + def __init__(self, dataset_count, *args, **kwargs): # noqa: E501 + """JsonApiWorkspaceOutMetaDataModel - a model defined in OpenAPI Args: - location (str): Location relative to the root of the storage. - upload_url (str): Pre-signed upload URL to PUT the file to. + dataset_count (int): include the number of dataset of each workspace Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -261,8 +256,7 @@ def __init__(self, location, upload_url, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.location = location - self.upload_url = upload_url + self.dataset_count = dataset_count for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py new file mode 100644 index 000000000..0a3392cf9 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_workspace_out_meta_hierarchy.py @@ -0,0 +1,270 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class JsonApiWorkspaceOutMetaHierarchy(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'children_count': (int,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'children_count': 'childrenCount', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, children_count, *args, **kwargs): # noqa: E501 + """JsonApiWorkspaceOutMetaHierarchy - a model defined in OpenAPI + + Args: + children_count (int): include the number of direct children of each workspace + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.children_count = children_count + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, children_count, *args, **kwargs): # noqa: E501 + """JsonApiWorkspaceOutMetaHierarchy - a model defined in OpenAPI + + Args: + children_count (int): include the number of direct children of each workspace + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.children_count = children_count + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/test_definition_request.py b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py index dc22cfb7c..fdcb318b2 100644 --- a/gooddata-api-client/gooddata_api_client/model/test_definition_request.py +++ b/gooddata-api-client/gooddata_api_client/model/test_definition_request.py @@ -75,7 +75,7 @@ class TestDefinitionRequest(ModelNormal): 'AZURESQL': "AZURESQL", 'SYNAPSESQL': "SYNAPSESQL", 'DATABRICKS': "DATABRICKS", - 'GD_STORAGE': "GD_STORAGE", + 'GDSTORAGE': "GDSTORAGE", 'CLICKHOUSE': "CLICKHOUSE", }, } diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index 3f192907a..72107b5b4 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -520,6 +520,8 @@ from gooddata_api_client.model.json_api_workspace_out_list import JsonApiWorkspaceOutList from gooddata_api_client.model.json_api_workspace_out_meta import JsonApiWorkspaceOutMeta from gooddata_api_client.model.json_api_workspace_out_meta_config import JsonApiWorkspaceOutMetaConfig +from gooddata_api_client.model.json_api_workspace_out_meta_data_model import JsonApiWorkspaceOutMetaDataModel +from gooddata_api_client.model.json_api_workspace_out_meta_hierarchy import JsonApiWorkspaceOutMetaHierarchy from gooddata_api_client.model.json_api_workspace_out_with_links import JsonApiWorkspaceOutWithLinks from gooddata_api_client.model.json_api_workspace_patch import JsonApiWorkspacePatch from gooddata_api_client.model.json_api_workspace_patch_document import JsonApiWorkspacePatchDocument @@ -601,7 +603,6 @@ from gooddata_api_client.model.sort_key_value import SortKeyValue from gooddata_api_client.model.sort_key_value_value import SortKeyValueValue from gooddata_api_client.model.sql_column import SqlColumn -from gooddata_api_client.model.staging_upload_location import StagingUploadLocation from gooddata_api_client.model.table_warning import TableWarning from gooddata_api_client.model.tabular_export_request import TabularExportRequest from gooddata_api_client.model.test_definition_request import TestDefinitionRequest diff --git a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml index f707c84be..da14aebe9 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml @@ -184,10 +184,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 66aba9cd673cd0635b0ad8a91096285f03f0e882 + executionResult: 05bff6335aee826aac5b9822ad5b5ee98bd046d0 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/66aba9cd673cd0635b0ad8a91096285f03f0e882?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/05bff6335aee826aac5b9822ad5b5ee98bd046d0?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml index b77516069..a6883a481 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml @@ -140,10 +140,10 @@ interactions: name: Revenue localIdentifier: dim_0 links: - executionResult: 4d8304ee40649bd25c4c9e66a71c92c2324caf06 + executionResult: 529312d135f9c47f906666a0c1fe9a0350eabfe4 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4d8304ee40649bd25c4c9e66a71c92c2324caf06?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/529312d135f9c47f906666a0c1fe9a0350eabfe4?offset=0&limit=256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml index 751137d2a..22d2a46da 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml @@ -141,10 +141,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 0c459ecb222400d2240092cc5aef48f488280bab + executionResult: ac72b7829fe61d6038377046145c4f2e3bdf66f8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0c459ecb222400d2240092cc5aef48f488280bab?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ac72b7829fe61d6038377046145c4f2e3bdf66f8?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml b/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml index bda79e9cc..91d0c2fe8 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,10 +478,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: af155579d0ee20a863355730ac2a5e3044cd27ca + executionResult: fe49123b2977902e74c42b95fc55361a94136889 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/af155579d0ee20a863355730ac2a5e3044cd27ca?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fe49123b2977902e74c42b95fc55361a94136889?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml b/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml index bda79e9cc..91d0c2fe8 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,10 +478,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: af155579d0ee20a863355730ac2a5e3044cd27ca + executionResult: fe49123b2977902e74c42b95fc55361a94136889 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/af155579d0ee20a863355730ac2a5e3044cd27ca?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fe49123b2977902e74c42b95fc55361a94136889?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml index e37088fe7..edbefbbe6 100644 --- a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml +++ b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml @@ -28,7 +28,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -126,31 +126,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -251,58 +226,122 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.month type: attribute attributes: - title: State - description: State + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Customers + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: - defaultView: + dataset: data: - id: state - type: label + id: date + type: dataset + labels: + data: + - id: date.month + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + meta: + origin: + originType: NATIVE + originId: demo + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + areRelationsValid: true + relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: state + - id: date.quarter type: label - - id: geo__state__location + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + meta: + origin: + originType: NATIVE + originId: demo + - id: date.week + type: attribute + attributes: + title: Date - Week/Year + description: Week and Year (W52/2020) + tags: + - Date + granularity: WEEK + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + meta: + origin: + originType: NATIVE + originId: demo + - id: date.year + type: attribute + attributes: + title: Date - Year + description: Year + tags: + - Date + granularity: YEAR + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.year + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -457,426 +496,137 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute + - id: region type: attribute attributes: - title: Date - Minute - description: Minute + title: Region + description: Region tags: - - Date - granularity: MINUTE + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.minute + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: state type: attribute attributes: - title: Date - Hour - description: Hour + title: State + description: State tags: - - Date - granularity: HOUR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.hour + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: type type: attribute attributes: - title: Date - Date - description: Date + title: Type + description: Type tags: - - Date - granularity: DAY + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.day + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute + included: + - id: product_name + type: label attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Product name + description: Product name tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label + - Products + primary: true + sourceColumn: product_name + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name + - id: order_status + type: label attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order status + description: Order status tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label + - Order lines + primary: true + sourceColumn: order_status + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status + - id: order_lines + type: dataset attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines + title: Order lines + description: Order lines tags: - Order lines grain: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -890,14 +640,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -913,18 +663,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -961,17 +699,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1002,17 +729,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1048,17 +764,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1169,28 +874,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1227,17 +910,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1268,33 +940,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1393,7 +1042,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1472,12 +1121,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1540,18 +1189,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1563,6 +1239,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1576,14 +1264,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1599,49 +1287,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1666,74 +1342,37 @@ interactions: type: attribute dataSourceTableId: demo-test-ds:products dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date + - demo + - products areRelationsValid: true - type: DATE + type: NORMAL relationships: attributes: data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay + - id: products.category type: attribute - - id: date.minuteOfHour + - id: product_id type: attribute - - id: date.year + - id: product_name type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: origin: originType: NATIVE originId: demo included: + - id: campaign_name + type: attribute + attributes: + title: Campaign name + description: Campaign name + tags: + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1745,6 +1384,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1766,163 +1416,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -1955,6 +1448,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -1966,16 +1491,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2009,6 +1524,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2020,36 +1545,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2061,16 +1588,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2175,7 +1703,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2190,7 +1718,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2205,7 +1733,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2222,7 +1750,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2238,7 +1766,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2253,7 +1781,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2268,7 +1796,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2283,7 +1811,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2299,7 +1827,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2315,7 +1843,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2331,7 +1859,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2347,7 +1875,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2363,7 +1891,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2380,7 +1908,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2396,7 +1924,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2412,7 +1940,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2428,7 +1956,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2444,7 +1972,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2460,7 +1988,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2475,7 +2003,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2490,7 +2018,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2505,7 +2033,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2520,7 +2048,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2535,7 +2063,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER diff --git a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml index 19f2d874e..f54d99947 100644 --- a/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml +++ b/gooddata-fdw/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml @@ -28,7 +28,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -126,31 +126,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -251,58 +226,122 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.month type: attribute attributes: - title: State - description: State + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Customers + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: - defaultView: + dataset: data: - id: state - type: label + id: date + type: dataset + labels: + data: + - id: date.month + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + meta: + origin: + originType: NATIVE + originId: demo + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + areRelationsValid: true + relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: state + - id: date.quarter type: label - - id: geo__state__location + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + meta: + origin: + originType: NATIVE + originId: demo + - id: date.week + type: attribute + attributes: + title: Date - Week/Year + description: Week and Year (W52/2020) + tags: + - Date + granularity: WEEK + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + meta: + origin: + originType: NATIVE + originId: demo + - id: date.year + type: attribute + attributes: + title: Date - Year + description: Year + tags: + - Date + granularity: YEAR + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.year + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -457,426 +496,137 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute + - id: region type: attribute attributes: - title: Date - Minute - description: Minute + title: Region + description: Region tags: - - Date - granularity: MINUTE + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.minute + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: state type: attribute attributes: - title: Date - Hour - description: Hour + title: State + description: State tags: - - Date - granularity: HOUR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.hour + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: type type: attribute attributes: - title: Date - Date - description: Date + title: Type + description: Type tags: - - Date - granularity: DAY + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.day + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute + included: + - id: product_name + type: label attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Product name + description: Product name tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label + - Products + primary: true + sourceColumn: product_name + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name + - id: order_status + type: label attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order status + description: Order status tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label + - Order lines + primary: true + sourceColumn: order_status + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status + - id: order_lines + type: dataset attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines + title: Order lines + description: Order lines tags: - Order lines grain: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -890,14 +640,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -913,18 +663,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -961,17 +699,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1002,17 +729,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1048,17 +764,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1169,28 +874,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1227,17 +910,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1268,33 +940,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1393,7 +1042,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1472,12 +1121,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1534,20 +1183,47 @@ interactions: - demo - customers areRelationsValid: true - type: NORMAL + type: NORMAL + relationships: + attributes: + data: + - id: customer_name + type: attribute + - id: region + type: attribute + - id: customer_id + type: attribute + - id: state + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE relationships: attributes: data: - - id: customer_name + - id: date.month type: attribute - - id: customer_id + - id: date.week type: attribute - - id: state + - id: date.day type: attribute - - id: region + - id: date.quarter + type: attribute + - id: date.year type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date meta: origin: originType: NATIVE @@ -1563,6 +1239,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1576,14 +1264,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1599,49 +1287,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1673,10 +1349,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1685,55 +1361,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1745,184 +1384,38 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget + - id: price type: fact attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id + title: Price + description: Price tags: - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING + sourceColumn: price + sourceColumnDataType: NUMERIC links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price + - id: budget type: fact attributes: - title: Price - description: Price + title: Budget + description: Budget tags: - - Order lines - sourceColumn: price + - Campaign channels + sourceColumn: budget sourceColumnDataType: NUMERIC links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -1955,6 +1448,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -1966,16 +1491,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2009,6 +1524,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2020,36 +1545,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2061,16 +1588,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2175,7 +1703,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2190,7 +1718,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2205,7 +1733,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2222,7 +1750,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2238,7 +1766,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2253,7 +1781,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2268,7 +1796,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2283,7 +1811,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2299,7 +1827,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2315,7 +1843,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2331,7 +1859,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2347,7 +1875,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2363,7 +1891,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2380,7 +1908,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2396,7 +1924,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2412,7 +1940,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2428,7 +1956,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2444,7 +1972,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2460,7 +1988,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2475,7 +2003,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2490,7 +2018,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2505,7 +2033,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2520,7 +2048,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2535,7 +2063,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2575,7 +2103,7 @@ interactions: Connection: - keep-alive Content-Length: - - '33000' + - '32983' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -2685,7 +2213,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -2784,7 +2312,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -2810,6 +2338,90 @@ interactions: origin: originType: NATIVE originId: demo + - id: percentage_of_customers_by_region + type: visualizationObject + attributes: + title: Percentage of Customers by Region + areRelationsValid: true + content: + buckets: + - items: + - measure: + definition: + measureDefinition: + filters: [] + item: + identifier: + id: amount_of_active_customers + type: metric + localIdentifier: 1a14cdc1293c46e89a2e25d3e741d235 + title: '# of Active Customers' + localIdentifier: measures + - items: + - attribute: + displayForm: + identifier: + id: date.month + type: label + localIdentifier: c1feca1864244ec2ace7a9b9d7fda231 + localIdentifier: view + - items: + - attribute: + displayForm: + identifier: + id: region + type: label + localIdentifier: 530cddbd7ca04d039e73462d81ed44d5 + localIdentifier: stack + filters: + - negativeAttributeFilter: + displayForm: + identifier: + id: region + type: label + notIn: + values: [] + - relativeDateFilter: + dataSet: + identifier: + id: date + type: dataset + from: -11 + granularity: GDC.time.month + to: 0 + properties: + controls: + legend: + position: bottom + stackMeasuresToPercent: true + version: '2' + visualizationUrl: local:area + createdAt: 2023-12-14 14:09 + relationships: + createdBy: + data: + id: admin + type: userIdentifier + metrics: + data: + - id: amount_of_active_customers + type: metric + datasets: + data: + - id: date + type: dataset + labels: + data: + - id: date.month + type: label + - id: region + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/visualizationObjects/percentage_of_customers_by_region + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject attributes: @@ -2888,7 +2500,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -2914,90 +2526,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: percentage_of_customers_by_region - type: visualizationObject - attributes: - title: Percentage of Customers by Region - areRelationsValid: true - content: - buckets: - - items: - - measure: - definition: - measureDefinition: - filters: [] - item: - identifier: - id: amount_of_active_customers - type: metric - localIdentifier: 1a14cdc1293c46e89a2e25d3e741d235 - title: '# of Active Customers' - localIdentifier: measures - - items: - - attribute: - displayForm: - identifier: - id: date.month - type: label - localIdentifier: c1feca1864244ec2ace7a9b9d7fda231 - localIdentifier: view - - items: - - attribute: - displayForm: - identifier: - id: region - type: label - localIdentifier: 530cddbd7ca04d039e73462d81ed44d5 - localIdentifier: stack - filters: - - negativeAttributeFilter: - displayForm: - identifier: - id: region - type: label - notIn: - values: [] - - relativeDateFilter: - dataSet: - identifier: - id: date - type: dataset - from: -11 - granularity: GDC.time.month - to: 0 - properties: - controls: - legend: - position: bottom - stackMeasuresToPercent: true - version: '2' - visualizationUrl: local:area - createdAt: 2023-11-29 11:45 - relationships: - createdBy: - data: - id: admin - type: userIdentifier - metrics: - data: - - id: amount_of_active_customers - type: metric - datasets: - data: - - id: date - type: dataset - labels: - data: - - id: date.month - type: label - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/visualizationObjects/percentage_of_customers_by_region - meta: - origin: - originType: NATIVE - originId: demo - id: product_breakdown type: visualizationObject attributes: @@ -3054,7 +2582,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3128,7 +2656,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3224,7 +2752,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3310,7 +2838,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3430,7 +2958,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3517,7 +3045,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3581,7 +3109,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3656,7 +3184,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3745,7 +3273,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3827,7 +3355,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3905,7 +3433,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -3932,7 +3460,7 @@ interactions: type: metric attributes: title: '# of Orders' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3943,7 +3471,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -4001,7 +3529,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -4012,7 +3540,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -4022,7 +3550,7 @@ interactions: type: metric attributes: title: Revenue / Top 10 - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -4043,7 +3571,7 @@ interactions: type: metric attributes: title: '% Revenue per Product' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -4070,7 +3598,6 @@ interactions: type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -4145,7 +3672,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -4168,7 +3695,7 @@ interactions: type: metric attributes: title: Campaign Spend - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -4178,7 +3705,7 @@ interactions: type: metric attributes: title: Revenue per Dollar Spent - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml index 68cb9b3d6..18dd3fc46 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_bytes_limits_failure.yaml @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml index 68cb9b3d6..18dd3fc46 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_dimensions_limits_failure.yaml @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml index 72785bc2b..bcdb929c1 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim1.yaml @@ -177,10 +177,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 8795b391229f480dbffa29e0dace507d29a59c4d + executionResult: a7bbec96d157cf9ca69cc03331b534ce5e84e68f - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8795b391229f480dbffa29e0dace507d29a59c4d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f/metadata body: null headers: Accept: @@ -347,7 +347,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 8795b391229f480dbffa29e0dace507d29a59c4d + executionResult: a7bbec96d157cf9ca69cc03331b534ce5e84e68f resultSpec: dimensions: - localIdentifier: dim_0 @@ -361,7 +361,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8795b391229f480dbffa29e0dace507d29a59c4d?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f?offset=0&limit=500 body: null headers: Accept: @@ -4819,7 +4819,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8795b391229f480dbffa29e0dace507d29a59c4d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f/metadata body: null headers: Accept: @@ -4986,7 +4986,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 8795b391229f480dbffa29e0dace507d29a59c4d + executionResult: a7bbec96d157cf9ca69cc03331b534ce5e84e68f resultSpec: dimensions: - localIdentifier: dim_0 @@ -5000,7 +5000,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8795b391229f480dbffa29e0dace507d29a59c4d?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a7bbec96d157cf9ca69cc03331b534ce5e84e68f?offset=0&limit=500 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml index fcaca5562..057d0edbd 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_one_dim2.yaml @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6 + executionResult: 7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6 + executionResult: 7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90 resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1664,7 +1664,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -2958,7 +2958,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -4252,7 +4252,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C300&limit=100%2C100 body: null headers: Accept: @@ -5114,7 +5114,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90/metadata body: null headers: Accept: @@ -5283,7 +5283,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6 + executionResult: 7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90 resultSpec: dimensions: - localIdentifier: dim_0 @@ -5300,7 +5300,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -6594,7 +6594,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -7888,7 +7888,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -9182,7 +9182,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b0cd82fc1a03484d7cfbf971c94e2b87bb36aca6?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7429f9f2cecdda5b3cfbb83e3f6f89cc716adf90?offset=0%2C300&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml index 755eef672..a5fbe647d 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals1.yaml @@ -200,10 +200,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 52edfc93bda9e28598902811ec876b28bb0010e7 + executionResult: 855eda6224ca1c9147f03a7ac58f707d3b3441cb - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/52edfc93bda9e28598902811ec876b28bb0010e7/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 52edfc93bda9e28598902811ec876b28bb0010e7 + executionResult: 855eda6224ca1c9147f03a7ac58f707d3b3441cb resultSpec: dimensions: - localIdentifier: dim_0 @@ -407,7 +407,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/52edfc93bda9e28598902811ec876b28bb0010e7?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1867,7 +1867,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/52edfc93bda9e28598902811ec876b28bb0010e7/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 52edfc93bda9e28598902811ec876b28bb0010e7 + executionResult: 855eda6224ca1c9147f03a7ac58f707d3b3441cb resultSpec: dimensions: - localIdentifier: dim_0 @@ -2071,7 +2071,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/52edfc93bda9e28598902811ec876b28bb0010e7?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/855eda6224ca1c9147f03a7ac58f707d3b3441cb?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml index 8fdba91da..5220b3249 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals2.yaml @@ -198,10 +198,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 3b5e2ea6c3fddea23b4a778959fd90e42edc6ea9 + executionResult: 1223b02d266b1582eecc82a222779a62974779d4 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3b5e2ea6c3fddea23b4a778959fd90e42edc6ea9/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 3b5e2ea6c3fddea23b4a778959fd90e42edc6ea9 + executionResult: 1223b02d266b1582eecc82a222779a62974779d4 resultSpec: dimensions: - localIdentifier: dim_0 @@ -403,7 +403,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3b5e2ea6c3fddea23b4a778959fd90e42edc6ea9?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2918,7 +2918,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3b5e2ea6c3fddea23b4a778959fd90e42edc6ea9/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 3b5e2ea6c3fddea23b4a778959fd90e42edc6ea9 + executionResult: 1223b02d266b1582eecc82a222779a62974779d4 resultSpec: dimensions: - localIdentifier: dim_0 @@ -3120,7 +3120,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3b5e2ea6c3fddea23b4a778959fd90e42edc6ea9?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1223b02d266b1582eecc82a222779a62974779d4?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml index d2860bc58..5895b123c 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals3.yaml @@ -200,10 +200,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ce8ec48a87d9b02bef6d3166a2cb1e6473e9e732 + executionResult: 589caaba57cb63a9fd90ce5a8dd8a7f6b0465996 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ce8ec48a87d9b02bef6d3166a2cb1e6473e9e732/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ce8ec48a87d9b02bef6d3166a2cb1e6473e9e732 + executionResult: 589caaba57cb63a9fd90ce5a8dd8a7f6b0465996 resultSpec: dimensions: - localIdentifier: dim_0 @@ -407,7 +407,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ce8ec48a87d9b02bef6d3166a2cb1e6473e9e732?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1867,7 +1867,7 @@ interactions: - 4 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ce8ec48a87d9b02bef6d3166a2cb1e6473e9e732/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ce8ec48a87d9b02bef6d3166a2cb1e6473e9e732 + executionResult: 589caaba57cb63a9fd90ce5a8dd8a7f6b0465996 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2071,7 +2071,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ce8ec48a87d9b02bef6d3166a2cb1e6473e9e732?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/589caaba57cb63a9fd90ce5a8dd8a7f6b0465996?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml index c93229619..daf149571 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_totals4.yaml @@ -198,10 +198,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 22a637cb646223a4a058894cad0af6dc17934ea8 + executionResult: b6c6a4698015f487e9399ec04cca43fcc924a51d - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/22a637cb646223a4a058894cad0af6dc17934ea8/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 22a637cb646223a4a058894cad0af6dc17934ea8 + executionResult: b6c6a4698015f487e9399ec04cca43fcc924a51d resultSpec: dimensions: - localIdentifier: dim_0 @@ -403,7 +403,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/22a637cb646223a4a058894cad0af6dc17934ea8?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2918,7 +2918,7 @@ interactions: - 17 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/22a637cb646223a4a058894cad0af6dc17934ea8/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 22a637cb646223a4a058894cad0af6dc17934ea8 + executionResult: b6c6a4698015f487e9399ec04cca43fcc924a51d resultSpec: dimensions: - localIdentifier: dim_0 @@ -3120,7 +3120,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/22a637cb646223a4a058894cad0af6dc17934ea8?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b6c6a4698015f487e9399ec04cca43fcc924a51d?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml index 3eee03429..2dc8218a3 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim1.yaml @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1176,7 +1176,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata body: null headers: Accept: @@ -1345,7 +1345,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af resultSpec: dimensions: - localIdentifier: dim_0 @@ -1362,7 +1362,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2168,7 +2168,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af/metadata body: null headers: Accept: @@ -2337,7 +2337,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2553c1e9d6586527b11b1642a9e643b80bd9bd12 + executionResult: 0a226b0ff297374681a3eb6e697377f8e38c71af resultSpec: dimensions: - localIdentifier: dim_0 @@ -2354,7 +2354,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2553c1e9d6586527b11b1642a9e643b80bd9bd12?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0a226b0ff297374681a3eb6e697377f8e38c71af?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml index d4cdcd8f1..a654ef595 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim2.yaml @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: ae38469d12471eae1be253bf93ef49161867f0c8 + executionResult: d08a1bea766c203bff4e92dd5c6ac4c16684c5e5 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae38469d12471eae1be253bf93ef49161867f0c8/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: ae38469d12471eae1be253bf93ef49161867f0c8 + executionResult: d08a1bea766c203bff4e92dd5c6ac4c16684c5e5 resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 9257 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae38469d12471eae1be253bf93ef49161867f0c8?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1568,7 +1568,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae38469d12471eae1be253bf93ef49161867f0c8?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=100%2C0&limit=100%2C100 body: null headers: Accept: @@ -2568,7 +2568,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae38469d12471eae1be253bf93ef49161867f0c8/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5/metadata body: null headers: Accept: @@ -2737,7 +2737,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: ae38469d12471eae1be253bf93ef49161867f0c8 + executionResult: d08a1bea766c203bff4e92dd5c6ac4c16684c5e5 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2754,7 +2754,7 @@ interactions: resultSize: 9257 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae38469d12471eae1be253bf93ef49161867f0c8?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -3952,7 +3952,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ae38469d12471eae1be253bf93ef49161867f0c8?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08a1bea766c203bff4e92dd5c6ac4c16684c5e5?offset=100%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml index a78e72edd..55101dfcd 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_exec_def_two_dim3.yaml @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: d52410252cbb940fc56be225166fca76209cf71f + executionResult: adf64e6e77e07f13c958965774798b3ef8b00b9b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d52410252cbb940fc56be225166fca76209cf71f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: d52410252cbb940fc56be225166fca76209cf71f + executionResult: adf64e6e77e07f13c958965774798b3ef8b00b9b resultSpec: dimensions: - localIdentifier: dim_0 @@ -370,7 +370,7 @@ interactions: resultSize: 3136 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d52410252cbb940fc56be225166fca76209cf71f?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1628,7 +1628,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d52410252cbb940fc56be225166fca76209cf71f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b/metadata body: null headers: Accept: @@ -1797,7 +1797,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: d52410252cbb940fc56be225166fca76209cf71f + executionResult: adf64e6e77e07f13c958965774798b3ef8b00b9b resultSpec: dimensions: - localIdentifier: dim_0 @@ -1814,7 +1814,7 @@ interactions: resultSize: 3136 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d52410252cbb940fc56be225166fca76209cf71f?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/adf64e6e77e07f13c958965774798b3ef8b00b9b?offset=0%2C0&limit=100%2C100 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml index 653f96b02..abb455766 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,7 +478,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 1cd7b870d7579bc12e1937abe36c15b0c5eb3518 + executionResult: 8341b3f5ce159f53c4be5fc0d02f0edfa526d095 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -506,7 +506,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -603,31 +603,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -728,595 +703,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1354,6 +1092,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1367,14 +1117,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1390,18 +1140,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1438,17 +1176,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1479,17 +1206,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1525,17 +1241,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1646,28 +1351,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1704,22 +1387,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1745,33 +1417,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1870,7 +1519,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1949,12 +1598,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -2017,18 +1666,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -2040,6 +1716,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -2053,14 +1741,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2076,49 +1764,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -2150,10 +1826,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -2162,55 +1838,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -2222,6 +1861,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -2243,163 +1893,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2432,6 +1925,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2443,16 +1968,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2486,6 +2001,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2497,36 +2022,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2538,16 +2065,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2652,7 +2180,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2667,7 +2195,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2682,7 +2210,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2699,7 +2227,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2715,7 +2243,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2730,7 +2258,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2745,7 +2273,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2760,7 +2288,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2776,7 +2304,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2792,7 +2320,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2808,7 +2336,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2824,7 +2352,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2840,7 +2368,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2857,7 +2385,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2873,7 +2401,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2889,7 +2417,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2905,7 +2433,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2921,7 +2449,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2937,7 +2465,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2952,7 +2480,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2967,7 +2495,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2982,7 +2510,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2997,7 +2525,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -3012,7 +2540,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -3027,7 +2555,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1cd7b870d7579bc12e1937abe36c15b0c5eb3518?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8341b3f5ce159f53c4be5fc0d02f0edfa526d095?offset=0%2C0&limit=4%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml index 64c795fa2..c5e6fdde4 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml @@ -28,7 +28,7 @@ interactions: Connection: - keep-alive Content-Length: - - '3321' + - '3304' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -151,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -185,7 +185,6 @@ interactions: type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -195,7 +194,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -205,7 +204,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -375,7 +374,7 @@ interactions: pattern: MMM y localIdentifier: dim_1 links: - executionResult: bf7cce2d15f5f203ac2fba10e243bacf93678187 + executionResult: 484d4398ff0f3fd991527ecb97664432c3d3b5fa - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -403,7 +402,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -500,31 +499,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -625,220 +599,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute + - id: date.day type: attribute attributes: - title: Date - Minute - description: Minute + title: Date - Date + description: Date tags: - Date - granularity: MINUTE + granularity: DAY areRelationsValid: true relationships: dataset: @@ -847,22 +615,22 @@ interactions: type: dataset labels: data: - - id: date.minute + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: date.month type: attribute attributes: - title: Date - Hour - description: Hour + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: HOUR + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -871,22 +639,22 @@ interactions: type: dataset labels: data: - - id: date.hour + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: date.quarter type: attribute attributes: - title: Date - Date - description: Date + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: DAY + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -895,10 +663,10 @@ interactions: type: dataset labels: data: - - id: date.day + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE @@ -927,38 +695,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter + - id: date.year type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Year + description: Year tags: - Date - granularity: QUARTER + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -967,253 +711,246 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: order_id type: attribute attributes: - title: Date - Year - description: Year + title: Order id + description: Order id tags: - - Date - granularity: YEAR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.year + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: order_line_id type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Order line id + description: Order line id tags: - - Date - granularity: MINUTE_OF_HOUR + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minuteOfHour + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_status type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order status + description: Order status tags: - - Date - granularity: HOUR_OF_DAY + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.hourOfDay + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: product_id type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Product id + description: Product id tags: - - Date - granularity: DAY_OF_WEEK + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfWeek + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: product_name type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Product name + description: Product name tags: - - Date - granularity: DAY_OF_MONTH + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfMonth + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: products.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfYear + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: region type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Region + description: Region tags: - - Date - granularity: WEEK_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.weekOfYear + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: type type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Type + description: Type tags: - - Date - granularity: QUARTER_OF_YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.quarterOfYear + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1251,6 +988,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1264,14 +1013,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1287,18 +1036,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1335,17 +1072,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1376,17 +1102,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1422,17 +1137,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1543,28 +1247,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1601,17 +1283,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1642,33 +1313,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1767,7 +1415,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1846,12 +1494,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1914,18 +1562,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1937,6 +1612,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1950,14 +1637,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1973,49 +1660,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -2043,71 +1718,34 @@ interactions: - demo - products areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE + type: NORMAL relationships: attributes: data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay + - id: products.category type: attribute - - id: date.minuteOfHour + - id: product_id type: attribute - - id: date.year + - id: product_name type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: origin: originType: NATIVE originId: demo included: + - id: campaign_name + type: attribute + attributes: + title: Campaign name + description: Campaign name + tags: + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -2119,6 +1757,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -2140,163 +1789,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2329,6 +1821,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2340,16 +1864,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2383,6 +1897,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2394,36 +1918,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2435,16 +1961,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2549,7 +2076,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2564,7 +2091,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2579,7 +2106,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2596,7 +2123,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2612,7 +2139,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2627,7 +2154,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2642,7 +2169,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2657,7 +2184,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2673,7 +2200,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2689,7 +2216,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2705,7 +2232,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2721,7 +2248,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2737,7 +2264,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2754,7 +2281,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2770,7 +2297,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2786,7 +2313,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2802,7 +2329,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2818,7 +2345,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2834,7 +2361,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2849,7 +2376,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2864,7 +2391,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2879,7 +2406,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2894,7 +2421,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2909,7 +2436,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2924,7 +2451,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bf7cce2d15f5f203ac2fba10e243bacf93678187?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/484d4398ff0f3fd991527ecb97664432c3d3b5fa?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -2994,12 +2521,11 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1394' + - '1402' body: string: data: - - - 88 - - 65 + - - 65 - 61 - 70 - 53 @@ -3010,8 +2536,8 @@ interactions: - 110 - 91 - 59 - - - 178.174875 - - 174.79036363636362 + - 63 + - - 174.79036363636362 - 150.10735849056604 - 110.63396825396825 - 164.63276595744682 @@ -3022,6 +2548,7 @@ interactions: - 237.2503 - 154.40761904761905 - 307.9370909090909 + - 252.81866666666667 dimensionHeaders: - headerGroups: - headers: @@ -3031,9 +2558,6 @@ interactions: measureIndex: 1 - headerGroups: - headers: - - attributeHeader: - labelValue: 2022-12 - primaryLabelValue: 2022-12 - attributeHeader: labelValue: 2023-01 primaryLabelValue: 2023-01 @@ -3067,6 +2591,9 @@ interactions: - attributeHeader: labelValue: 2023-11 primaryLabelValue: 2023-11 + - attributeHeader: + labelValue: 2023-12 + primaryLabelValue: 2023-12 grandTotals: [] paging: count: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml index abcce22fe..abb455766 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_no_index.yaml @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -274,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -478,7 +478,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 1cd7b870d7579bc12e1937abe36c15b0c5eb3518 + executionResult: 8341b3f5ce159f53c4be5fc0d02f0edfa526d095 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -506,7 +506,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -603,31 +603,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -728,58 +703,122 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.month type: attribute attributes: - title: State - description: State + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Customers + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: - defaultView: + dataset: data: - id: state - type: label + id: date + type: dataset + labels: + data: + - id: date.month + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + meta: + origin: + originType: NATIVE + originId: demo + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + areRelationsValid: true + relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: state + - id: date.quarter type: label - - id: geo__state__location + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + meta: + origin: + originType: NATIVE + originId: demo + - id: date.week + type: attribute + attributes: + title: Date - Week/Year + description: Week and Year (W52/2020) + tags: + - Date + granularity: WEEK + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + meta: + origin: + originType: NATIVE + originId: demo + - id: date.year + type: attribute + attributes: + title: Date - Year + description: Year + tags: + - Date + granularity: YEAR + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.year + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -934,426 +973,137 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute + - id: region type: attribute attributes: - title: Date - Minute - description: Minute + title: Region + description: Region tags: - - Date - granularity: MINUTE + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.minute + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: state type: attribute attributes: - title: Date - Hour - description: Hour + title: State + description: State tags: - - Date - granularity: HOUR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.hour + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: type type: attribute attributes: - title: Date - Date - description: Date + title: Type + description: Type tags: - - Date - granularity: DAY + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.day + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute + included: + - id: product_name + type: label attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Product name + description: Product name tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label + - Products + primary: true + sourceColumn: product_name + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name + - id: order_status + type: label attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order status + description: Order status tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label + - Order lines + primary: true + sourceColumn: order_status + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status + - id: order_lines + type: dataset attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines + title: Order lines + description: Order lines tags: - Order lines grain: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1367,14 +1117,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1390,18 +1140,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1438,17 +1176,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1479,17 +1206,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1525,17 +1241,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1646,28 +1351,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1704,17 +1387,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1745,33 +1417,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1870,7 +1519,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1949,12 +1598,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -2017,18 +1666,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -2040,6 +1716,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -2053,14 +1741,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2076,49 +1764,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -2143,74 +1819,37 @@ interactions: type: attribute dataSourceTableId: demo-test-ds:products dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date + - demo + - products areRelationsValid: true - type: DATE + type: NORMAL relationships: attributes: data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay + - id: products.category type: attribute - - id: date.minuteOfHour + - id: product_id type: attribute - - id: date.year + - id: product_name type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: origin: originType: NATIVE originId: demo included: + - id: campaign_name + type: attribute + attributes: + title: Campaign name + description: Campaign name + tags: + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -2222,6 +1861,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -2243,163 +1893,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2432,6 +1925,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2443,16 +1968,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2486,6 +2001,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2497,36 +2022,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2538,16 +2065,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2652,7 +2180,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2667,7 +2195,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2682,7 +2210,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2699,7 +2227,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2715,7 +2243,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2730,7 +2258,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2745,7 +2273,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2760,7 +2288,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2776,7 +2304,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2792,7 +2320,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2808,7 +2336,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2824,7 +2352,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2840,7 +2368,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2857,7 +2385,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2873,7 +2401,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2889,7 +2417,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2905,7 +2433,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2921,7 +2449,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2937,7 +2465,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2952,7 +2480,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2967,7 +2495,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2982,7 +2510,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2997,7 +2525,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -3012,7 +2540,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -3027,7 +2555,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1cd7b870d7579bc12e1937abe36c15b0c5eb3518?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8341b3f5ce159f53c4be5fc0d02f0edfa526d095?offset=0%2C0&limit=4%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml index b10765368..94e289b4f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml @@ -161,7 +161,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 56a809b703ca5dac9b149b33641b6dcc505daa1d + executionResult: 26cf17385e98c6ef28da1383e2b0e36b7ef034ae - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -189,7 +189,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -286,31 +286,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -411,595 +386,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1037,6 +775,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1050,14 +800,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1073,18 +823,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1121,17 +859,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1162,17 +889,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1208,17 +924,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1329,28 +1034,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1387,22 +1070,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1428,33 +1100,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1553,7 +1202,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1632,12 +1281,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1700,18 +1349,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1723,6 +1399,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1736,14 +1424,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1759,49 +1447,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1833,10 +1509,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1845,55 +1521,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1905,6 +1544,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1926,163 +1576,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2115,6 +1608,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2126,16 +1651,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2169,6 +1684,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2180,36 +1705,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2221,16 +1748,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2335,7 +1863,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2350,7 +1878,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2365,7 +1893,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2382,7 +1910,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2398,7 +1926,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2413,7 +1941,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2428,7 +1956,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2443,7 +1971,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2459,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2475,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2491,7 +2019,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2507,7 +2035,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2523,7 +2051,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2540,7 +2068,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2556,7 +2084,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2572,7 +2100,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2588,7 +2116,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2604,7 +2132,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2620,7 +2148,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2635,7 +2163,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2650,7 +2178,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2665,7 +2193,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2680,7 +2208,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2695,7 +2223,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2710,7 +2238,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/56a809b703ca5dac9b149b33641b6dcc505daa1d?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/26cf17385e98c6ef28da1383e2b0e36b7ef034ae?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml index b10765368..94e289b4f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items_no_index.yaml @@ -161,7 +161,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 56a809b703ca5dac9b149b33641b6dcc505daa1d + executionResult: 26cf17385e98c6ef28da1383e2b0e36b7ef034ae - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -189,7 +189,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -286,31 +286,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -411,595 +386,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1037,6 +775,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1050,14 +800,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1073,18 +823,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1121,17 +859,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1162,17 +889,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1208,17 +924,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1329,28 +1034,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1387,22 +1070,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1428,33 +1100,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1553,7 +1202,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1632,12 +1281,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1700,18 +1349,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1723,6 +1399,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1736,14 +1424,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1759,49 +1447,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1833,10 +1509,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1845,55 +1521,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1905,6 +1544,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1926,163 +1576,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2115,6 +1608,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2126,16 +1651,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2169,6 +1684,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2180,36 +1705,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2221,16 +1748,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2335,7 +1863,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2350,7 +1878,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2365,7 +1893,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2382,7 +1910,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2398,7 +1926,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2413,7 +1941,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2428,7 +1956,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2443,7 +1971,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2459,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2475,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2491,7 +2019,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2507,7 +2035,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2523,7 +2051,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2540,7 +2068,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2556,7 +2084,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2572,7 +2100,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2588,7 +2116,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2604,7 +2132,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2620,7 +2148,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2635,7 +2163,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2650,7 +2178,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2665,7 +2193,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2680,7 +2208,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2695,7 +2223,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2710,7 +2238,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/56a809b703ca5dac9b149b33641b6dcc505daa1d?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/26cf17385e98c6ef28da1383e2b0e36b7ef034ae?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml index 1577bf0df..afa300a3f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: f3abdd63d10d93a0491301f329494957b3a1bdb1 + executionResult: e8b6b0820f533d0b86fa9625d7c2bbc29295f340 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -170,7 +170,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -267,31 +267,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -392,595 +367,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1018,6 +756,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1031,14 +781,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1054,18 +804,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1102,17 +840,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1143,17 +870,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1189,17 +905,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1310,28 +1015,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1368,22 +1051,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1409,33 +1081,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1534,7 +1183,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1613,12 +1262,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1681,18 +1330,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1704,6 +1380,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1717,14 +1405,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1740,49 +1428,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1814,10 +1490,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1826,55 +1502,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1886,6 +1525,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1907,163 +1557,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2096,6 +1589,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2107,16 +1632,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2150,6 +1665,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2161,36 +1686,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2202,16 +1729,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2316,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2331,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2346,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2363,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2379,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2394,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2409,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2424,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2440,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2456,7 +1984,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2472,7 +2000,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2488,7 +2016,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2504,7 +2032,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2521,7 +2049,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2537,7 +2065,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2553,7 +2081,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2569,7 +2097,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2585,7 +2113,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2601,7 +2129,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2616,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2631,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2646,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2661,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2676,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2691,7 +2219,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f3abdd63d10d93a0491301f329494957b3a1bdb1?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e8b6b0820f533d0b86fa9625d7c2bbc29295f340?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml b/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml index 1577bf0df..afa300a3f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: f3abdd63d10d93a0491301f329494957b3a1bdb1 + executionResult: e8b6b0820f533d0b86fa9625d7c2bbc29295f340 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -170,7 +170,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -267,31 +267,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -392,595 +367,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1018,6 +756,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1031,14 +781,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1054,18 +804,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1102,17 +840,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1143,17 +870,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1189,17 +905,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1310,28 +1015,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1368,22 +1051,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1409,33 +1081,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1534,7 +1183,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1613,12 +1262,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1681,18 +1330,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1704,6 +1380,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1717,14 +1405,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1740,49 +1428,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1814,10 +1490,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1826,55 +1502,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1886,6 +1525,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1907,163 +1557,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2096,6 +1589,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2107,16 +1632,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2150,6 +1665,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2161,36 +1686,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2202,16 +1729,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2316,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2331,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2346,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2363,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2379,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2394,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2409,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2424,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2440,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2456,7 +1984,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2472,7 +2000,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2488,7 +2016,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2504,7 +2032,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2521,7 +2049,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2537,7 +2065,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2553,7 +2081,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2569,7 +2097,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2585,7 +2113,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2601,7 +2129,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2616,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2631,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2646,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2661,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2676,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2691,7 +2219,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f3abdd63d10d93a0491301f329494957b3a1bdb1?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e8b6b0820f533d0b86fa9625d7c2bbc29295f340?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml index 28c3d662d..5a4a59b7b 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label.yaml @@ -195,7 +195,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 84da57473b93eaeddc41e047cad52e5fdf240a6d + executionResult: 9df1ebcdc25911120099a3c246ed4dfacb5f3cf2 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -223,7 +223,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -320,31 +320,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -445,595 +420,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1071,6 +809,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1084,14 +834,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1107,18 +857,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1155,17 +893,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1196,17 +923,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1242,17 +958,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1363,28 +1068,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1421,22 +1104,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1462,33 +1134,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1587,7 +1236,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1666,12 +1315,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1734,18 +1383,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1757,6 +1433,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1770,14 +1458,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1793,49 +1481,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1867,10 +1543,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1879,55 +1555,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1939,6 +1578,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1960,163 +1610,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2149,6 +1642,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2160,16 +1685,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2203,6 +1718,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2214,36 +1739,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2255,16 +1782,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2369,7 +1897,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2384,7 +1912,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2399,7 +1927,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2416,7 +1944,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2432,7 +1960,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2447,7 +1975,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2462,7 +1990,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2477,7 +2005,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2493,7 +2021,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2509,7 +2037,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2525,7 +2053,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2541,7 +2069,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2557,7 +2085,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2574,7 +2102,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2590,7 +2118,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2606,7 +2134,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2622,7 +2150,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2638,7 +2166,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2654,7 +2182,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2669,7 +2197,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2684,7 +2212,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2699,7 +2227,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2714,7 +2242,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2729,7 +2257,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2744,7 +2272,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84da57473b93eaeddc41e047cad52e5fdf240a6d?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9df1ebcdc25911120099a3c246ed4dfacb5f3cf2?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml index 50bc60112..04211a55c 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_filtered_metrics_and_label_reuse.yaml @@ -170,7 +170,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: a3b0956797024be070b65467899d3fea920def3c + executionResult: eb926718861c79afec82a9f5ca1698ceda5be95b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -198,7 +198,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -595,54 +595,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -667,30 +619,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -739,134 +667,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -875,22 +683,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -899,10 +707,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -928,87 +736,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1046,6 +784,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1059,14 +809,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1082,18 +832,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1130,17 +868,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1171,17 +898,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1217,17 +933,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1338,28 +1043,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1396,17 +1079,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1437,33 +1109,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1562,7 +1211,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1641,12 +1290,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1709,12 +1358,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1733,50 +1382,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: campaign_id + dataType: INT target: - id: date - type: date + id: campaign_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: date type: dataset multivalue: false sources: - - column: campaign_id - dataType: INT + - column: date + dataType: DATE target: - id: campaign_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: customers type: dataset multivalue: false sources: - - column: product_id + - column: customer_id dataType: INT target: - id: product_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: products type: dataset multivalue: false sources: - - column: customer_id + - column: product_id dataType: INT target: - id: customer_id + id: product_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1805,12 +1454,12 @@ interactions: relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1842,10 +1491,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1858,7 +1507,6 @@ interactions: type: dataset attributes: title: Date - description: '' tags: - Date areRelationsValid: true @@ -1866,33 +1514,13 @@ interactions: relationships: attributes: data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - id: date.month type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear + - id: date.week type: attribute - id: date.day type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour + - id: date.quarter type: attribute - id: date.year type: attribute @@ -1903,6 +1531,17 @@ interactions: originType: NATIVE originId: demo included: + - id: campaign_name + type: attribute + attributes: + title: Campaign name + description: Campaign name + tags: + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1914,6 +1553,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1935,163 +1585,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2124,6 +1617,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2135,16 +1660,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2178,6 +1693,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2189,36 +1714,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2230,16 +1757,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2344,7 +1872,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2359,7 +1887,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2374,7 +1902,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2391,7 +1919,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2407,7 +1935,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2422,7 +1950,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2437,7 +1965,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2452,7 +1980,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2468,7 +1996,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2484,7 +2012,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2500,7 +2028,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2516,7 +2044,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2532,7 +2060,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2549,7 +2077,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2565,7 +2093,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2581,7 +2109,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2597,7 +2125,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2613,7 +2141,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2629,7 +2157,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2644,7 +2172,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2659,7 +2187,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2674,7 +2202,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2689,7 +2217,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2704,7 +2232,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2719,7 +2247,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a3b0956797024be070b65467899d3fea920def3c?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/eb926718861c79afec82a9f5ca1698ceda5be95b?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml index 37f63bb37..33a9e8c46 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml @@ -162,7 +162,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 24e8e8426f9dc110460227743ff3a1d53c9321ea + executionResult: f33e403965421de48c4cb8d2d459d6b53e72919b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -190,7 +190,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -287,31 +287,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -412,595 +387,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1038,6 +776,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1051,14 +801,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1074,18 +824,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1122,17 +860,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1163,17 +890,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1209,17 +925,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1330,28 +1035,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1388,22 +1071,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1429,33 +1101,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1554,7 +1203,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1633,12 +1282,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1701,18 +1350,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1724,6 +1400,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1737,14 +1425,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1760,49 +1448,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1834,10 +1510,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1846,55 +1522,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1906,6 +1545,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1927,163 +1577,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2116,6 +1609,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2127,16 +1652,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2170,6 +1685,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2181,36 +1706,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2222,16 +1749,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2336,7 +1864,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2351,7 +1879,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2366,7 +1894,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2383,7 +1911,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2399,7 +1927,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2414,7 +1942,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2429,7 +1957,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2444,7 +1972,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2460,7 +1988,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2476,7 +2004,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2492,7 +2020,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2508,7 +2036,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2524,7 +2052,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2541,7 +2069,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2557,7 +2085,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2573,7 +2101,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2589,7 +2117,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2605,7 +2133,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2621,7 +2149,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2636,7 +2164,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2651,7 +2179,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2666,7 +2194,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2681,7 +2209,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2696,7 +2224,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2711,7 +2239,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/24e8e8426f9dc110460227743ff3a1d53c9321ea?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f33e403965421de48c4cb8d2d459d6b53e72919b?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml index dda7a85f0..1006e8df2 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics_and_label.yaml @@ -182,7 +182,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: b2db7b84d467418dc82c1e8b01c24e771adb5f2f + executionResult: 4108e97ec77f74c4cb44a52b07c5e7422b389fb0 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -210,7 +210,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -607,54 +607,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -679,30 +631,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -751,134 +679,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -887,22 +695,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -911,10 +719,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -940,87 +748,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1058,6 +796,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1071,14 +821,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1094,18 +844,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1142,19 +880,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1183,17 +910,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1229,17 +945,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1350,28 +1055,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1408,17 +1091,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1449,33 +1121,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1574,7 +1223,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1653,12 +1302,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1721,18 +1370,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1744,6 +1420,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1757,14 +1445,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1780,49 +1468,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1854,10 +1530,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1866,55 +1542,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1926,6 +1565,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1947,163 +1597,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2136,6 +1629,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2147,16 +1672,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2190,6 +1705,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2201,36 +1726,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2242,16 +1769,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2356,7 +1884,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2371,7 +1899,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2386,7 +1914,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2403,7 +1931,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2419,7 +1947,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2434,7 +1962,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2449,7 +1977,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2464,7 +1992,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2480,7 +2008,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2496,7 +2024,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2512,7 +2040,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2528,7 +2056,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2544,7 +2072,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2561,7 +2089,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2577,7 +2105,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2593,7 +2121,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2609,7 +2137,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2625,7 +2153,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2641,7 +2169,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2656,7 +2184,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2671,7 +2199,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2686,7 +2214,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2701,7 +2229,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2716,7 +2244,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2731,7 +2259,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b2db7b84d467418dc82c1e8b01c24e771adb5f2f?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4108e97ec77f74c4cb44a52b07c5e7422b389fb0?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml index d3f2047fd..0d777e308 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_filtered_metrics_and_labels.yaml @@ -150,7 +150,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ed6979ba66b9e3bded17b1ee526ce2e7c073eeb5 + executionResult: 98c572c6b3dfb42dbdbc4935f710741b31971865 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -178,7 +178,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -575,54 +575,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -647,30 +599,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -719,134 +647,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -855,22 +663,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -879,10 +687,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -908,87 +716,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1026,6 +764,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1039,14 +789,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1062,18 +812,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1110,17 +848,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1151,17 +878,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1197,17 +913,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1318,28 +1023,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1376,17 +1059,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1417,33 +1089,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1542,7 +1191,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1621,12 +1270,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1689,12 +1338,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1713,50 +1362,50 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: campaign_id + dataType: INT target: - id: date - type: date + id: campaign_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: date type: dataset multivalue: false sources: - - column: campaign_id - dataType: INT + - column: date + dataType: DATE target: - id: campaign_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: customers type: dataset multivalue: false sources: - - column: product_id + - column: customer_id dataType: INT target: - id: product_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: - id: customers + id: products type: dataset multivalue: false sources: - - column: customer_id + - column: product_id dataType: INT target: - id: customer_id + id: product_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1785,12 +1434,12 @@ interactions: relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1822,10 +1471,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1838,7 +1487,6 @@ interactions: type: dataset attributes: title: Date - description: '' tags: - Date areRelationsValid: true @@ -1846,33 +1494,13 @@ interactions: relationships: attributes: data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - id: date.month type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear + - id: date.week type: attribute - id: date.day type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour + - id: date.quarter type: attribute - id: date.year type: attribute @@ -1883,6 +1511,17 @@ interactions: originType: NATIVE originId: demo included: + - id: campaign_name + type: attribute + attributes: + title: Campaign name + description: Campaign name + tags: + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1894,6 +1533,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1915,163 +1565,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2104,6 +1597,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2115,16 +1640,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2158,6 +1673,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2169,36 +1694,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2210,16 +1737,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2324,7 +1852,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2339,7 +1867,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2354,7 +1882,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2371,7 +1899,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2387,7 +1915,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2402,7 +1930,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2417,7 +1945,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2432,7 +1960,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2448,7 +1976,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2464,7 +1992,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2480,7 +2008,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2496,7 +2024,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2512,7 +2040,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2529,7 +2057,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2545,7 +2073,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2561,7 +2089,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2577,7 +2105,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2593,7 +2121,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2609,7 +2137,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2624,7 +2152,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2639,7 +2167,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2654,7 +2182,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2669,7 +2197,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2684,7 +2212,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2699,7 +2227,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ed6979ba66b9e3bded17b1ee526ce2e7c073eeb5?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/98c572c6b3dfb42dbdbc4935f710741b31971865?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml index c6f3e08bb..a61e8de30 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml @@ -118,7 +118,7 @@ interactions: name: '# of Orders' localIdentifier: dim_0 links: - executionResult: 2f5f4ed11e7a3ec09c2bec7251561f6cd9dc0a9d + executionResult: 0359d9cac18f5fb6e210d424dfb873997e3a8f92 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -146,7 +146,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -243,31 +243,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -368,229 +343,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -615,14 +367,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.month type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: WEEK + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -631,22 +383,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.quarter type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: MONTH + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -655,22 +407,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.week type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: QUARTER + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -679,10 +431,10 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE @@ -711,252 +463,238 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: order_id type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Order id + description: Order id tags: - - Date - granularity: MINUTE_OF_HOUR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minuteOfHour + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_line_id type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order line id + description: Order line id tags: - - Date - granularity: HOUR_OF_DAY + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.hourOfDay + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_status type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: product_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Product id + description: Product id tags: - - Date - granularity: DAY_OF_MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfMonth + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: product_name type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Product name + description: Product name tags: - - Date - granularity: DAY_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfYear + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: products.category type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Category + description: Category tags: - - Date - granularity: WEEK_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.weekOfYear + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: state + - id: region type: attribute attributes: - title: State - description: State + title: Region + description: Region tags: - Customers areRelationsValid: true - sourceColumn: state + sourceColumn: region sourceColumnDataType: STRING relationships: - defaultView: - data: - id: state - type: label dataset: data: id: customers type: dataset labels: - data: - - id: state - type: label - - id: geo__state__location + data: + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: type type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Type + description: Type tags: - - Date - granularity: QUARTER_OF_YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.quarterOfYear + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -994,6 +732,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1007,14 +757,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1030,18 +780,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1078,17 +816,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1119,17 +846,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1165,17 +881,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1286,28 +991,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1344,17 +1027,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1385,33 +1057,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1510,7 +1159,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1589,12 +1238,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1657,18 +1306,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1680,6 +1356,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1693,14 +1381,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1716,49 +1404,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1790,10 +1466,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1802,55 +1478,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1862,6 +1501,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1883,163 +1533,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2072,6 +1565,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2083,16 +1608,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2126,6 +1641,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2137,36 +1662,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2178,16 +1705,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2292,7 +1820,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2307,7 +1835,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2322,7 +1850,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2339,7 +1867,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2355,7 +1883,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2370,7 +1898,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2385,7 +1913,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2400,7 +1928,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2416,7 +1944,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2427,12 +1955,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2448,7 +1992,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2464,7 +2008,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2480,7 +2024,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2497,7 +2041,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2513,7 +2057,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2529,7 +2073,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2545,7 +2089,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2556,28 +2100,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2592,7 +2120,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2607,7 +2135,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2622,7 +2150,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2637,7 +2165,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2652,7 +2180,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2667,7 +2195,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2f5f4ed11e7a3ec09c2bec7251561f6cd9dc0a9d?offset=0&limit=2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0359d9cac18f5fb6e210d424dfb873997e3a8f92?offset=0&limit=2 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml index 728ba05d1..a5f1b93f6 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics_and_labels.yaml @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 27d6cdf6d50dbc5f6001dfa1c85de676d816ee88 + executionResult: 51d778ccc5fe05298fe7859a32103a3275f1c80c - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -170,7 +170,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -567,54 +567,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -639,30 +591,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -711,134 +639,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -847,22 +655,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -871,10 +679,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -900,87 +708,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1018,6 +756,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1031,14 +781,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1054,18 +804,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1102,19 +840,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1143,17 +870,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1189,17 +905,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1310,28 +1015,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1368,17 +1051,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1409,33 +1081,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1534,7 +1183,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1613,12 +1262,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1681,12 +1330,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1704,18 +1353,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1729,15 +1366,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1745,293 +1382,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2043,6 +1514,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2054,16 +1536,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2096,6 +1589,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2107,16 +1632,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2150,6 +1665,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2161,36 +1686,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2202,16 +1729,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2316,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2331,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2346,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2363,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2379,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2394,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2409,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2424,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2440,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2451,12 +1979,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2472,7 +2016,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2488,7 +2032,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2504,7 +2048,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2521,7 +2065,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2537,7 +2081,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2553,7 +2097,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2569,7 +2113,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2580,28 +2124,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2616,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2631,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2646,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2661,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2676,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2691,7 +2219,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/27d6cdf6d50dbc5f6001dfa1c85de676d816ee88?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/51d778ccc5fe05298fe7859a32103a3275f1c80c?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml index ad7887899..241748302 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_filtered_metrics_and_label.yaml @@ -197,7 +197,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9823d764bc418587fb4d01e7078c677d15725156 + executionResult: febd39646bae0fd2de5ccda88b07e61b53e81748 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -225,7 +225,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -322,31 +322,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -447,595 +422,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1073,6 +811,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1086,14 +836,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1109,18 +859,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1157,17 +895,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1198,17 +925,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1244,17 +960,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1365,28 +1070,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1423,22 +1106,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1464,33 +1136,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1589,7 +1238,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1668,12 +1317,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1736,18 +1385,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1759,6 +1435,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1772,14 +1460,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1795,49 +1483,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1869,10 +1545,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1881,55 +1557,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1941,6 +1580,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1962,163 +1612,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2151,6 +1644,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2162,16 +1687,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2205,6 +1720,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2216,36 +1741,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2257,16 +1784,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2371,7 +1899,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2386,7 +1914,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2401,7 +1929,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2418,7 +1946,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2434,7 +1962,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2449,7 +1977,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2464,7 +1992,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2479,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2495,7 +2023,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2511,7 +2039,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2527,7 +2055,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2543,7 +2071,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2559,7 +2087,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2576,7 +2104,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2592,7 +2120,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2608,7 +2136,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2624,7 +2152,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2640,7 +2168,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2656,7 +2184,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2671,7 +2199,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2686,7 +2214,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2701,7 +2229,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2716,7 +2244,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2731,7 +2259,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2746,7 +2274,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9823d764bc418587fb4d01e7078c677d15725156?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/febd39646bae0fd2de5ccda88b07e61b53e81748?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml index f33f83728..d38417b1e 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml @@ -149,7 +149,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9a8692bf782750748a72d5bd48bdc15d974cd731 + executionResult: 59a77968f286d2530fb8b39e33bdec472d417404 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -177,7 +177,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -274,31 +274,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -399,595 +374,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1025,6 +763,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1038,14 +788,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1061,18 +811,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1109,17 +847,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1150,17 +877,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1196,17 +912,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1317,28 +1022,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1375,22 +1058,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1416,33 +1088,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1541,7 +1190,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1620,12 +1269,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1688,18 +1337,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1711,6 +1387,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1724,14 +1412,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1747,49 +1435,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1821,10 +1497,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1833,55 +1509,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1893,6 +1532,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1914,163 +1564,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2103,6 +1596,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2114,16 +1639,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2157,6 +1672,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2168,36 +1693,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2209,16 +1736,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2323,7 +1851,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2338,7 +1866,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2353,7 +1881,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2370,7 +1898,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2386,7 +1914,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2401,7 +1929,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2416,7 +1944,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2431,7 +1959,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2447,7 +1975,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2463,7 +1991,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2479,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2495,7 +2023,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2511,7 +2039,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2528,7 +2056,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2544,7 +2072,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2560,7 +2088,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2576,7 +2104,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2592,7 +2120,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2608,7 +2136,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2623,7 +2151,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2638,7 +2166,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2653,7 +2181,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2668,7 +2196,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2683,7 +2211,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2698,7 +2226,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9a8692bf782750748a72d5bd48bdc15d974cd731?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/59a77968f286d2530fb8b39e33bdec472d417404?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml index b968b9c14..b4235057f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_and_label.yaml @@ -140,7 +140,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: aa9da96f397f63b0cbc35ba4bb70c18d9ebb92d2 + executionResult: 67de884550e0671ca73d819bdf7c05c715aea75e - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -168,7 +168,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -265,31 +265,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -390,58 +365,122 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.month type: attribute attributes: - title: State - description: State + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Customers + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: - defaultView: + dataset: data: - id: state - type: label + id: date + type: dataset + labels: + data: + - id: date.month + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + meta: + origin: + originType: NATIVE + originId: demo + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + areRelationsValid: true + relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: state + - id: date.quarter type: label - - id: geo__state__location + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + meta: + origin: + originType: NATIVE + originId: demo + - id: date.week + type: attribute + attributes: + title: Date - Week/Year + description: Week and Year (W52/2020) + tags: + - Date + granularity: WEEK + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + meta: + origin: + originType: NATIVE + originId: demo + - id: date.year + type: attribute + attributes: + title: Date - Year + description: Year + tags: + - Date + granularity: YEAR + areRelationsValid: true + relationships: + dataset: + data: + id: date + type: dataset + labels: + data: + - id: date.year + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -596,426 +635,137 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute + - id: region type: attribute attributes: - title: Date - Minute - description: Minute + title: Region + description: Region tags: - - Date - granularity: MINUTE + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.minute + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: state type: attribute attributes: - title: Date - Hour - description: Hour + title: State + description: State tags: - - Date - granularity: HOUR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.hour + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: type type: attribute attributes: - title: Date - Date - description: Date + title: Type + description: Type tags: - - Date - granularity: DAY + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.day + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute + included: + - id: product_name + type: label attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Product name + description: Product name tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label + - Products + primary: true + sourceColumn: product_name + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name + - id: order_status + type: label attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Order status + description: Order status tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label + - Order lines + primary: true + sourceColumn: order_status + sourceColumnDataType: STRING + valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status + - id: order_lines + type: dataset attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines + title: Order lines + description: Order lines tags: - Order lines grain: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1029,14 +779,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1052,18 +802,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1100,17 +838,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1141,17 +868,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1187,17 +903,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1308,28 +1013,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1366,17 +1049,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1407,33 +1079,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1532,7 +1181,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1611,12 +1260,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1679,18 +1328,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1702,6 +1378,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1715,14 +1403,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1738,49 +1426,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1805,74 +1481,37 @@ interactions: type: attribute dataSourceTableId: demo-test-ds:products dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date + - demo + - products areRelationsValid: true - type: DATE + type: NORMAL relationships: attributes: data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay + - id: products.category type: attribute - - id: date.minuteOfHour + - id: product_id type: attribute - - id: date.year + - id: product_name type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: origin: originType: NATIVE originId: demo included: + - id: campaign_name + type: attribute + attributes: + title: Campaign name + description: Campaign name + tags: + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1884,6 +1523,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1905,163 +1555,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2094,6 +1587,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2105,16 +1630,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2148,6 +1663,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2159,36 +1684,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2200,16 +1727,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2314,7 +1842,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2329,7 +1857,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2344,7 +1872,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2361,7 +1889,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2377,7 +1905,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2392,7 +1920,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2407,7 +1935,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2422,7 +1950,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2438,7 +1966,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2454,7 +1982,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2470,7 +1998,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2486,7 +2014,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2502,7 +2030,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2519,7 +2047,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2535,7 +2063,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2551,7 +2079,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2567,7 +2095,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2583,7 +2111,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2599,7 +2127,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2614,7 +2142,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2629,7 +2157,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2644,7 +2172,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2659,7 +2187,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2674,7 +2202,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2689,7 +2217,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/aa9da96f397f63b0cbc35ba4bb70c18d9ebb92d2?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/67de884550e0671ca73d819bdf7c05c715aea75e?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml index 5e8132ab4..b4235057f 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics_no_duplicate.yaml @@ -140,7 +140,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: aa9da96f397f63b0cbc35ba4bb70c18d9ebb92d2 + executionResult: 67de884550e0671ca73d819bdf7c05c715aea75e - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -168,7 +168,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -265,31 +265,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -390,595 +365,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1016,6 +754,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1029,14 +779,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1052,18 +802,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1100,17 +838,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1141,17 +868,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1187,17 +903,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1308,28 +1013,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1366,22 +1049,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1407,33 +1079,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1532,7 +1181,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1611,12 +1260,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1679,18 +1328,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1702,6 +1378,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1715,14 +1403,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1738,49 +1426,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1812,10 +1488,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1824,55 +1500,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1884,6 +1523,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1905,163 +1555,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2094,6 +1587,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2105,16 +1630,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2148,6 +1663,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2159,36 +1684,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2200,16 +1727,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2314,7 +1842,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2329,7 +1857,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2344,7 +1872,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2361,7 +1889,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2377,7 +1905,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2392,7 +1920,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2407,7 +1935,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2422,7 +1950,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2438,7 +1966,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2454,7 +1982,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2470,7 +1998,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2486,7 +2014,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2502,7 +2030,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2519,7 +2047,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2535,7 +2063,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2551,7 +2079,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2567,7 +2095,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2583,7 +2111,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2599,7 +2127,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2614,7 +2142,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2629,7 +2157,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2644,7 +2172,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2659,7 +2187,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2674,7 +2202,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2689,7 +2217,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/aa9da96f397f63b0cbc35ba4bb70c18d9ebb92d2?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/67de884550e0671ca73d819bdf7c05c715aea75e?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml b/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml index b0ebc2556..d76c97a2b 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml @@ -157,7 +157,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 62d5793821fb6f8efef786da132ec50a9efc0f11 + executionResult: 574db88c6b66b7649532923a962800187596af5b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -185,7 +185,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -582,54 +582,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -654,30 +606,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -726,134 +654,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -862,22 +670,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -886,10 +694,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -915,87 +723,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1033,6 +771,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1046,14 +796,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1069,18 +819,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1117,19 +855,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1158,17 +885,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1204,17 +920,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1325,28 +1030,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1383,17 +1066,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1424,33 +1096,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1549,7 +1198,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1628,12 +1277,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1696,12 +1345,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1719,18 +1368,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1744,15 +1381,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1760,293 +1397,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2058,6 +1529,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2069,16 +1551,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2111,6 +1604,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2122,16 +1647,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2165,6 +1680,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2176,36 +1701,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2217,16 +1744,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2331,7 +1859,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2346,7 +1874,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2361,7 +1889,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2378,7 +1906,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2394,7 +1922,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2409,7 +1937,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2424,7 +1952,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2439,7 +1967,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2455,7 +1983,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2466,12 +1994,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2487,7 +2031,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2503,7 +2047,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2519,7 +2063,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2536,7 +2080,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2552,7 +2096,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2568,7 +2112,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2584,7 +2128,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2595,28 +2139,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2631,7 +2159,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2646,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2661,7 +2189,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2676,7 +2204,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2691,7 +2219,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2706,7 +2234,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/62d5793821fb6f8efef786da132ec50a9efc0f11?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/574db88c6b66b7649532923a962800187596af5b?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml index f33f83728..75d51e8aa 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml @@ -149,7 +149,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 9a8692bf782750748a72d5bd48bdc15d974cd731 + executionResult: 59a77968f286d2530fb8b39e33bdec472d417404 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -177,7 +177,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -574,54 +574,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -646,30 +598,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -718,134 +646,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -854,22 +662,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -878,10 +686,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -907,87 +715,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1025,6 +763,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1038,14 +788,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1061,18 +811,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1109,19 +847,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1150,17 +877,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1196,17 +912,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1317,28 +1022,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1375,17 +1058,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1416,33 +1088,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1541,7 +1190,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1620,12 +1269,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1688,12 +1337,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1711,18 +1360,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1736,15 +1373,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1752,293 +1389,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2050,6 +1521,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2061,16 +1543,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2103,6 +1596,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2114,16 +1639,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2157,6 +1672,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2168,36 +1693,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2209,16 +1736,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2323,7 +1851,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2338,7 +1866,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2353,7 +1881,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2370,7 +1898,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2386,7 +1914,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2401,7 +1929,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2416,7 +1944,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2431,7 +1959,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2447,7 +1975,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2458,12 +1986,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2479,7 +2023,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2495,7 +2039,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2511,7 +2055,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2528,7 +2072,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2544,7 +2088,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2560,7 +2104,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2576,7 +2120,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2587,28 +2131,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2623,7 +2151,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2638,7 +2166,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2653,7 +2181,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2668,7 +2196,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2683,7 +2211,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2698,7 +2226,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9a8692bf782750748a72d5bd48bdc15d974cd731?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/59a77968f286d2530fb8b39e33bdec472d417404?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml index e60984759..a15517316 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_filtered_metric_series.yaml @@ -105,7 +105,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: c6234951aa61632bd6bb72924814d063b8a19147 + executionResult: c3974cde865e75d3c4782c4025b91cc32fe6a7ae - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -133,7 +133,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -530,54 +530,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -602,30 +554,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -674,134 +602,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -810,22 +618,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -834,10 +642,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -863,87 +671,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -981,6 +719,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -994,14 +744,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1017,18 +767,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1065,19 +803,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1106,17 +833,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1152,17 +868,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1273,28 +978,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1331,17 +1014,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1372,33 +1044,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1497,7 +1146,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1576,12 +1225,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1644,12 +1293,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1667,6 +1316,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1680,14 +1341,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1703,18 +1364,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1740,12 +1389,12 @@ interactions: relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1777,10 +1426,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1793,7 +1442,6 @@ interactions: type: dataset attributes: title: Date - description: '' tags: - Date areRelationsValid: true @@ -1801,33 +1449,13 @@ interactions: relationships: attributes: data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - id: date.month type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear + - id: date.week type: attribute - id: date.day type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour + - id: date.quarter type: attribute - id: date.year type: attribute @@ -1838,6 +1466,17 @@ interactions: originType: NATIVE originId: demo included: + - id: campaign_name + type: attribute + attributes: + title: Campaign name + description: Campaign name + tags: + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1849,6 +1488,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1870,6 +1520,38 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + - id: date.day + type: attribute + attributes: + title: Date - Date + description: Date + tags: + - Date + granularity: DAY + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + - id: region + type: attribute + attributes: + title: Region + description: Region + tags: + - Customers + sourceColumn: region + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + - id: campaign_channel_id + type: attribute + attributes: + title: Campaign channel id + description: Campaign channel id + tags: + - Campaign channels + sourceColumn: campaign_channel_id + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - id: product_name type: attribute attributes: @@ -1902,26 +1584,50 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth + - id: customer_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Customer id + description: Customer id tags: - - Date - granularity: DAY_OF_MONTH + - Customers + sourceColumn: customer_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id + - id: quantity + type: fact + attributes: + title: Quantity + description: Quantity + tags: + - Order lines + sourceColumn: quantity + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/quantity + - id: campaign_id + type: attribute + attributes: + title: Campaign id + description: Campaign id + tags: + - Campaigns + sourceColumn: campaign_id + sourceColumnDataType: INT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id + - id: type type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Type + description: Type tags: - - Date - granularity: QUARTER_OF_YEAR + - Campaign channels + sourceColumn: type + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - id: date.quarter type: attribute attributes: @@ -1932,6 +1638,17 @@ interactions: granularity: QUARTER links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + - id: spend + type: fact + attributes: + title: Spend + description: Spend + tags: + - Campaign channels + sourceColumn: spend + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - id: campaign_channels.category type: attribute attributes: @@ -1943,16 +1660,6 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - id: state type: attribute attributes: @@ -1974,6 +1681,17 @@ interactions: granularity: WEEK links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + - id: order_status + type: attribute + attributes: + title: Order status + description: Order status + tags: + - Order lines + sourceColumn: order_status + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - id: order_id type: attribute attributes: @@ -1985,215 +1703,25 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour + - id: customer_name type: attribute attributes: - title: Date - Hour - description: Hour + title: Customer name + description: Customer name tags: - - Date - granularity: HOUR + - Customers + sourceColumn: customer_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name + - id: order_line_id type: attribute attributes: - title: Campaign name - description: Campaign name + title: Order line id + description: Order line id tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - sourceColumn: region - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - sourceColumn: customer_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - - id: quantity - type: fact - attributes: - title: Quantity - description: Quantity - tags: - - Order lines - sourceColumn: quantity - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/quantity - - id: campaign_id - type: attribute - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - sourceColumn: campaign_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - sourceColumn: type - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - - id: spend - type: fact - attributes: - title: Spend - description: Spend - tags: - - Campaign channels - sourceColumn: spend - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - sourceColumn: order_status - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - sourceColumn: customer_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - sourceColumn: order_line_id + - Order lines + sourceColumn: order_line_id sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id @@ -2279,7 +1807,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2294,7 +1822,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2309,7 +1837,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2326,7 +1854,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2342,7 +1870,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2357,7 +1885,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2372,7 +1900,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2387,7 +1915,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2403,7 +1931,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2414,12 +1942,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2435,7 +1979,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2451,7 +1995,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2467,7 +2011,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2484,7 +2028,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2500,7 +2044,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2516,7 +2060,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2532,7 +2076,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2543,28 +2087,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2579,7 +2107,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2594,7 +2122,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2609,7 +2137,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2624,7 +2152,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2639,7 +2167,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2654,7 +2182,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c6234951aa61632bd6bb72924814d063b8a19147?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c3974cde865e75d3c4782c4025b91cc32fe6a7ae?offset=0&limit=1 body: null headers: Accept: @@ -2853,7 +2381,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: e5a595bdd28a27c700d3fb12c9f7456dafc56c5e + executionResult: 86416a3da9679d0ae166f04dcf544b57d0a4de66 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -2881,7 +2409,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -3278,14 +2806,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute + - id: date.day type: attribute attributes: - title: Date - Minute - description: Minute + title: Date - Date + description: Date tags: - Date - granularity: MINUTE + granularity: DAY areRelationsValid: true relationships: dataset: @@ -3294,22 +2822,22 @@ interactions: type: dataset labels: data: - - id: date.minute + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: date.month type: attribute attributes: - title: Date - Hour - description: Hour + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: HOUR + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -3318,22 +2846,22 @@ interactions: type: dataset labels: data: - - id: date.hour + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: date.quarter type: attribute attributes: - title: Date - Date - description: Date + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: DAY + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -3342,10 +2870,10 @@ interactions: type: dataset labels: data: - - id: date.day + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE @@ -3374,14 +2902,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.year type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Year + description: Year tags: - Date - granularity: MONTH + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -3390,310 +2918,48 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label + included: + - id: product_name + type: label attributes: title: Product name description: Product name @@ -3729,6 +2995,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -3742,14 +3020,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -3765,18 +3043,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -3813,17 +3079,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -3854,17 +3109,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -3900,17 +3144,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -4021,28 +3254,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -4079,17 +3290,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -4120,33 +3320,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -4245,7 +3422,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -4324,12 +3501,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -4392,12 +3569,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -4415,18 +3592,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -4440,15 +3605,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -4456,293 +3621,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -4754,6 +3753,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -4765,16 +3775,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -4807,6 +3828,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -4818,16 +3871,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -4861,6 +3904,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -4872,36 +3925,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -4913,16 +3968,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -5027,7 +4083,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -5042,7 +4098,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -5057,7 +4113,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -5074,7 +4130,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -5090,7 +4146,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -5105,7 +4161,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -5120,7 +4176,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -5135,7 +4191,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -5151,7 +4207,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -5162,12 +4218,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -5183,7 +4255,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -5199,7 +4271,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -5215,7 +4287,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -5232,7 +4304,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -5248,7 +4320,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -5264,7 +4336,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -5280,7 +4352,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -5291,28 +4363,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -5327,7 +4383,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -5342,7 +4398,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -5357,7 +4413,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -5372,7 +4428,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -5387,7 +4443,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -5402,7 +4458,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e5a595bdd28a27c700d3fb12c9f7456dafc56c5e?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/86416a3da9679d0ae166f04dcf544b57d0a4de66?offset=0&limit=1 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml index e25c804e2..e1bf4edb7 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml @@ -112,7 +112,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 8835d5089720f45550ad1c8fc833f370c02d0f09 + executionResult: 06405037acf31c36607bcf55a4dcf925df49423c - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -140,7 +140,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -537,54 +537,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -609,30 +561,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -681,134 +609,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -817,22 +625,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -841,10 +649,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -870,87 +678,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -988,6 +726,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1001,14 +751,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1024,18 +774,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1072,19 +810,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1113,17 +840,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1159,17 +875,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1280,28 +985,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1338,17 +1021,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1379,33 +1051,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1504,7 +1153,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1583,12 +1232,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1651,12 +1300,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1674,18 +1323,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1699,15 +1336,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1715,293 +1352,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2013,6 +1484,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2024,16 +1506,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2066,6 +1559,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2077,16 +1602,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2120,6 +1635,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2131,36 +1656,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2172,16 +1699,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2286,7 +1814,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2301,7 +1829,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2316,7 +1844,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2333,7 +1861,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2349,7 +1877,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2364,7 +1892,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2379,7 +1907,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2394,7 +1922,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2410,7 +1938,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2421,12 +1949,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2442,7 +1986,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2458,7 +2002,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2474,7 +2018,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2491,7 +2035,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2507,7 +2051,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2523,7 +2067,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2539,7 +2083,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2550,28 +2094,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2586,7 +2114,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2601,7 +2129,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2616,7 +2144,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2631,7 +2159,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2646,7 +2174,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2661,7 +2189,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8835d5089720f45550ad1c8fc833f370c02d0f09?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/06405037acf31c36607bcf55a4dcf925df49423c?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml index 5df799857..e09913a4c 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series_with_granularity.yaml @@ -132,7 +132,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 8b51f578096645c40f391062070203a9be6c9f1f + executionResult: 8ca918c37bce7ca828ff49d7105d6b79cca49a7b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -160,7 +160,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -557,54 +557,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -629,30 +581,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -701,134 +629,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -837,22 +645,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -861,10 +669,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -890,87 +698,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1008,6 +746,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1021,14 +771,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1044,18 +794,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1092,19 +830,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1133,17 +860,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1179,17 +895,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1300,28 +1005,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1358,17 +1041,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1399,33 +1071,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1524,7 +1173,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1603,12 +1252,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1671,12 +1320,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1694,18 +1343,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1719,15 +1356,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1735,293 +1372,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2033,6 +1504,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2044,16 +1526,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2086,6 +1579,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2097,16 +1622,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2140,6 +1655,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2151,36 +1676,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2192,16 +1719,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2306,7 +1834,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2321,7 +1849,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2336,7 +1864,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2353,7 +1881,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2369,7 +1897,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2384,7 +1912,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2399,7 +1927,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2414,7 +1942,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2430,7 +1958,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2441,12 +1969,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2462,7 +2006,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2478,7 +2022,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2494,7 +2038,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2511,7 +2055,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2527,7 +2071,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2543,7 +2087,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2559,7 +2103,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2570,28 +2114,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2606,7 +2134,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2621,7 +2149,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2636,7 +2164,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2651,7 +2179,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2666,7 +2194,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2681,7 +2209,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8b51f578096645c40f391062070203a9be6c9f1f?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8ca918c37bce7ca828ff49d7105d6b79cca49a7b?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml index 9cc8d9886..1a8fafe2d 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml @@ -105,7 +105,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: c6234951aa61632bd6bb72924814d063b8a19147 + executionResult: c3974cde865e75d3c4782c4025b91cc32fe6a7ae - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -133,7 +133,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -530,54 +530,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -602,30 +554,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -674,134 +602,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -810,22 +618,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -834,10 +642,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -863,87 +671,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -981,6 +719,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -994,14 +744,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1017,18 +767,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1065,19 +803,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1106,17 +833,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1152,17 +868,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1273,28 +978,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1331,17 +1014,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1372,33 +1044,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1497,7 +1146,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1576,12 +1225,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1644,12 +1293,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1667,18 +1316,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1692,15 +1329,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1708,293 +1345,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2006,6 +1477,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2017,16 +1499,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2059,6 +1552,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2070,16 +1595,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2113,6 +1628,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2124,36 +1649,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2165,16 +1692,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2279,7 +1807,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2294,7 +1822,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2309,7 +1837,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2326,7 +1854,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2342,7 +1870,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2357,7 +1885,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2372,7 +1900,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2387,7 +1915,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2403,7 +1931,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2414,12 +1942,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2435,7 +1979,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2451,7 +1995,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2467,7 +2011,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2484,7 +2028,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2500,7 +2044,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2516,7 +2060,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2532,7 +2076,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2543,28 +2087,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2579,7 +2107,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2594,7 +2122,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2609,7 +2137,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2624,7 +2152,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2639,7 +2167,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2654,7 +2182,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c6234951aa61632bd6bb72924814d063b8a19147?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c3974cde865e75d3c4782c4025b91cc32fe6a7ae?offset=0&limit=1 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml index da0f90371..6c41c0aaf 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series_with_granularity.yaml @@ -129,7 +129,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 5e18774442ab8b8d1c7a6e45a368ca07501a1a67 + executionResult: 36179e6e0cb6d844ac6832a64afedfddc49f2f2a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -157,7 +157,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -554,54 +554,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -626,30 +578,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -698,134 +626,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -834,22 +642,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -858,10 +666,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -887,87 +695,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1005,6 +743,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1018,14 +768,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1041,18 +791,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1089,19 +827,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1130,17 +857,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1176,17 +892,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1297,28 +1002,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1355,17 +1038,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1396,33 +1068,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1521,7 +1170,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1600,12 +1249,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1668,12 +1317,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1691,18 +1340,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1716,15 +1353,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1732,293 +1369,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2030,6 +1501,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2041,16 +1523,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2083,6 +1576,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2094,16 +1619,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2137,6 +1652,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2148,36 +1673,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2189,16 +1716,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2303,7 +1831,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2318,7 +1846,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2333,7 +1861,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2350,7 +1878,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2366,7 +1894,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2381,7 +1909,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2396,7 +1924,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2411,7 +1939,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2427,7 +1955,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2438,12 +1966,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2459,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2475,7 +2019,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2491,7 +2035,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2508,7 +2052,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2524,7 +2068,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2540,7 +2084,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2556,7 +2100,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2567,28 +2111,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2603,7 +2131,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2618,7 +2146,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2633,7 +2161,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2648,7 +2176,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2663,7 +2191,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2678,7 +2206,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5e18774442ab8b8d1c7a6e45a368ca07501a1a67?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/36179e6e0cb6d844ac6832a64afedfddc49f2f2a?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml b/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml index 3b452dd6b..191c8553b 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml @@ -148,7 +148,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 1fcfe4105b8b184566d06d6976d100715d3930e5 + executionResult: 11e67b2f3887e65398ec262da211da410ea34c2a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -176,7 +176,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -273,31 +273,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -398,595 +373,358 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.month type: attribute attributes: - title: Order id - description: Order id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Order lines + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.quarter type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Order lines + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.week type: attribute attributes: - title: Order status - description: Order status + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Order lines + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.year type: attribute attributes: - title: Product id - description: Product id + title: Date - Year + description: Year tags: - - Products + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: order_id type: attribute attributes: - title: Product name - description: Product name + title: Order id + description: Order id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: product_name + sourceColumn: order_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: product_name + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: order_line_id type: attribute attributes: - title: Category - description: Category + title: Order line id + description: Order line id tags: - - Products + - Order lines areRelationsValid: true - sourceColumn: category + sourceColumn: order_line_id sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: order_lines type: dataset labels: data: - - id: products.category + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: order_status type: attribute attributes: - title: Date - Minute - description: Minute + title: Order status + description: Order status tags: - - Date - granularity: MINUTE + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minute + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: product_id type: attribute attributes: - title: Date - Hour - description: Hour + title: Product id + description: Product id tags: - - Date - granularity: HOUR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.hour + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: product_name type: attribute attributes: - title: Date - Date - description: Date + title: Product name + description: Product name tags: - - Date - granularity: DAY + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.day + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: products.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.week + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: region type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Region + description: Region tags: - - Date - granularity: MONTH + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.month + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: state type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: State + description: State tags: - - Date - granularity: QUARTER + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarter + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: type type: attribute attributes: - title: Date - Year - description: Year + title: Type + description: Type tags: - - Date - granularity: YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.year + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1024,6 +762,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1037,14 +787,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1060,18 +810,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1108,17 +846,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1149,17 +876,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1195,17 +911,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1316,28 +1021,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1374,22 +1057,11 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay + - id: order_line_id type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id + title: Order line id + description: Order line id tags: - Order lines primary: true @@ -1415,33 +1087,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1540,7 +1189,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1619,12 +1268,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1687,12 +1336,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1710,18 +1359,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1735,15 +1372,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1751,293 +1388,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2049,6 +1520,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2060,16 +1542,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2102,6 +1595,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2113,16 +1638,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2156,6 +1671,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2167,36 +1692,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2208,16 +1735,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2322,7 +1850,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2337,7 +1865,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2352,7 +1880,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2369,7 +1897,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2385,7 +1913,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2400,7 +1928,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2415,7 +1943,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2430,7 +1958,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2446,7 +1974,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2457,12 +1985,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2478,7 +2022,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2494,7 +2038,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2510,7 +2054,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2527,7 +2071,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2543,7 +2087,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2559,7 +2103,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2575,7 +2119,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2586,28 +2130,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2622,7 +2150,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2637,7 +2165,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2652,7 +2180,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2667,7 +2195,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2682,7 +2210,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2697,7 +2225,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1fcfe4105b8b184566d06d6976d100715d3930e5?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/11e67b2f3887e65398ec262da211da410ea34c2a?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml b/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml index e25c804e2..e1bf4edb7 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml @@ -112,7 +112,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 8835d5089720f45550ad1c8fc833f370c02d0f09 + executionResult: 06405037acf31c36607bcf55a4dcf925df49423c - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -140,7 +140,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -537,54 +537,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -609,30 +561,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - id: date.month type: attribute attributes: @@ -681,134 +609,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear + - id: date.week type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: DAY_OF_YEAR + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -817,22 +625,22 @@ interactions: type: dataset labels: data: - - id: date.dayOfYear + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.year type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Year + description: Year tags: - Date - granularity: WEEK_OF_YEAR + granularity: YEAR areRelationsValid: true relationships: dataset: @@ -841,10 +649,10 @@ interactions: type: dataset labels: data: - - id: date.weekOfYear + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -870,87 +678,17 @@ interactions: type: dataset labels: data: - - id: state - type: label - id: geo__state__location type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarterOfYear + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -988,6 +726,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1001,14 +751,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1024,18 +774,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1072,19 +810,8 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset + - id: campaign_channels + type: dataset attributes: title: Campaign channels description: Campaign channels @@ -1113,17 +840,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1159,17 +875,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1280,28 +985,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1338,17 +1021,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1379,33 +1051,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1504,7 +1153,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1583,12 +1232,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1651,12 +1300,12 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1674,18 +1323,6 @@ interactions: - id: order_line_id type: attribute referenceProperties: - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - identifier: id: campaigns type: dataset @@ -1699,15 +1336,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: products + id: date type: dataset multivalue: false sources: - - column: product_id - dataType: INT + - column: date + dataType: DATE target: - id: product_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1715,293 +1352,127 @@ interactions: type: dataset multivalue: false sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - areRelationsValid: true - workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - - name: wdf__region - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - relationships: - attributes: - data: - - id: order_line_id - type: attribute - - id: order_id - type: attribute - - id: order_status - type: attribute - facts: - data: - - id: quantity - type: fact - - id: price - type: fact - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - meta: - origin: - originType: NATIVE - originId: demo - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: product_id - type: attribute - - id: products.category - type: attribute - - id: product_name - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - meta: - origin: - originType: NATIVE - originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - sourceColumn: product_id - sourceColumnDataType: INT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - - id: budget - type: fact - attributes: - title: Budget - description: Budget - tags: - - Campaign channels - sourceColumn: budget - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK + - column: customer_id + dataType: INT + target: + id: customer_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + - identifier: + id: products + type: dataset + multivalue: false + sources: + - column: product_id + dataType: INT + target: + id: product_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null + dataSourceTableId: demo-test-ds:order_lines + dataSourceTablePath: + - demo + - order_lines + areRelationsValid: true + workspaceDataFilterColumns: + - name: wdf__state + dataType: STRING + - name: wdf__region + dataType: STRING + workspaceDataFilterReferences: + - filterId: + id: wdf__region + type: workspaceDataFilter + filterColumn: wdf__region + filterColumnDataType: STRING + - filterId: + id: wdf__state + type: workspaceDataFilter + filterColumn: wdf__state + filterColumnDataType: STRING + type: NORMAL + relationships: + attributes: + data: + - id: order_id + type: attribute + - id: order_status + type: attribute + - id: order_line_id + type: attribute + facts: + data: + - id: quantity + type: fact + - id: price + type: fact links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines + meta: + origin: + originType: NATIVE + originId: demo + - id: products + type: dataset attributes: - title: Order id - description: Order id + title: Products + description: Products tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING + - Products + grain: + - id: product_id + type: attribute + dataSourceTableId: demo-test-ds:products + dataSourceTablePath: + - demo + - products + areRelationsValid: true + type: NORMAL + relationships: + attributes: + data: + - id: products.category + type: attribute + - id: product_id + type: attribute + - id: product_name + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products + meta: + origin: + originType: NATIVE + originId: demo + - id: date + type: dataset attributes: - title: Date - Hour - description: Hour + title: Date tags: - Date - granularity: HOUR + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo + included: - id: campaign_name type: attribute attributes: @@ -2013,6 +1484,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + - id: product_id + type: attribute + attributes: + title: Product id + description: Product id + tags: + - Products + sourceColumn: product_id + sourceColumnDataType: INT + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - id: price type: fact attributes: @@ -2024,16 +1506,27 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek + - id: budget + type: fact + attributes: + title: Budget + description: Budget + tags: + - Campaign channels + sourceColumn: budget + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/budget + - id: date.year type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Year + description: Year tags: - Date - granularity: DAY_OF_WEEK + granularity: YEAR links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - id: date.day type: attribute attributes: @@ -2066,6 +1559,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2077,16 +1602,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2120,6 +1635,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2131,36 +1656,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2172,16 +1699,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2286,7 +1814,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2301,7 +1829,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2316,7 +1844,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2333,7 +1861,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2349,7 +1877,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2364,7 +1892,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2379,7 +1907,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2394,7 +1922,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2410,7 +1938,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2421,12 +1949,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2442,7 +1986,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2458,7 +2002,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2474,7 +2018,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2491,7 +2035,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2507,7 +2051,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2523,7 +2067,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2539,7 +2083,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2550,28 +2094,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2586,7 +2114,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2601,7 +2129,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2616,7 +2144,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2631,7 +2159,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2646,7 +2174,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2661,7 +2189,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8835d5089720f45550ad1c8fc833f370c02d0f09?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/06405037acf31c36607bcf55a4dcf925df49423c?offset=0&limit=1000 body: null headers: Accept: diff --git a/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml b/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml index da0f90371..37c4a4401 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml @@ -129,7 +129,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 5e18774442ab8b8d1c7a6e45a368ca07501a1a67 + executionResult: 36179e6e0cb6d844ac6832a64afedfddc49f2f2a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -157,7 +157,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '19939' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -254,31 +254,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -379,229 +354,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - id: date.day type: attribute attributes: @@ -626,14 +378,14 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.month type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: WEEK + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -642,22 +394,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.quarter type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: MONTH + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -666,22 +418,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.week type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: QUARTER + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -690,10 +442,10 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE @@ -722,252 +474,238 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: order_id type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Order id + description: Order id tags: - - Date - granularity: MINUTE_OF_HOUR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minuteOfHour + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_line_id type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order line id + description: Order line id tags: - - Date - granularity: HOUR_OF_DAY + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.hourOfDay + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_status type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: product_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Product id + description: Product id tags: - - Date - granularity: DAY_OF_MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfMonth + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: product_name type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Product name + description: Product name tags: - - Date - granularity: DAY_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfYear + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: products.category type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Category + description: Category tags: - - Date - granularity: WEEK_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.weekOfYear + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: state + - id: region type: attribute attributes: - title: State - description: State + title: Region + description: Region tags: - Customers areRelationsValid: true - sourceColumn: state + sourceColumn: region sourceColumnDataType: STRING relationships: - defaultView: - data: - id: state - type: label dataset: data: id: customers type: dataset labels: - data: - - id: state - type: label - - id: geo__state__location + data: + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: type type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Type + description: Type tags: - - Date - granularity: QUARTER_OF_YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.quarterOfYear + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1005,6 +743,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1018,14 +768,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1041,18 +791,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1089,17 +827,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - id: campaign_channels type: dataset attributes: @@ -1130,17 +857,6 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - id: date.month type: label attributes: @@ -1176,17 +892,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - id: date.day type: label attributes: @@ -1297,28 +1002,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - id: date.week type: label attributes: @@ -1355,17 +1038,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - id: order_line_id type: label attributes: @@ -1396,33 +1068,10 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -1521,7 +1170,7 @@ interactions: Connection: - keep-alive Content-Length: - - '15256' + - '12092' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -1600,12 +1249,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1668,18 +1317,45 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.month + type: attribute + - id: date.week + type: attribute + - id: date.day + type: attribute + - id: date.quarter + type: attribute + - id: date.year + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1691,6 +1367,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1704,14 +1392,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1727,49 +1415,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1801,10 +1477,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1813,55 +1489,18 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset + included: + - id: campaign_name + type: attribute attributes: - title: Date - description: '' + title: Campaign name + description: Campaign name tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute + - Campaigns + sourceColumn: campaign_name + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo - included: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - id: product_id type: attribute attributes: @@ -1873,6 +1512,17 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + - id: price + type: fact + attributes: + title: Price + description: Price + tags: + - Order lines + sourceColumn: price + sourceColumnDataType: NUMERIC + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - id: budget type: fact attributes: @@ -1894,163 +1544,6 @@ interactions: granularity: YEAR links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - sourceColumn: product_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - - id: date.quarterOfYear - type: attribute - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - granularity: QUARTER_OF_YEAR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - sourceColumn: category - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - sourceColumn: state - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - - id: date.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - sourceColumn: order_id - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - sourceColumn: campaign_name - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - - id: price - type: fact - attributes: - title: Price - description: Price - tags: - - Order lines - sourceColumn: price - sourceColumnDataType: NUMERIC - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/price - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - id: date.day type: attribute attributes: @@ -2083,6 +1576,38 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + sourceColumn: product_name + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + - id: date.month + type: attribute + attributes: + title: Date - Month/Year + description: Month and Year (12/2020) + tags: + - Date + granularity: MONTH + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + - id: products.category + type: attribute + attributes: + title: Category + description: Category + tags: + - Products + sourceColumn: category + sourceColumnDataType: STRING + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - id: customer_id type: attribute attributes: @@ -2094,16 +1619,6 @@ interactions: sourceColumnDataType: INT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - id: quantity type: fact attributes: @@ -2137,6 +1652,16 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + - id: date.quarter + type: attribute + attributes: + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) + tags: + - Date + granularity: QUARTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - id: spend type: fact attributes: @@ -2148,36 +1673,38 @@ interactions: sourceColumnDataType: NUMERIC links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - - id: date.dayOfYear + - id: campaign_channels.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Campaign channels + sourceColumn: category + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - - id: date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + - id: state type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: State + description: State tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers + sourceColumn: state + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - - id: date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + - id: date.week type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: WEEK_OF_YEAR + granularity: WEEK links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - id: order_status type: attribute attributes: @@ -2189,16 +1716,17 @@ interactions: sourceColumnDataType: STRING links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - - id: date.monthOfYear + - id: order_id type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order id + description: Order id tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines + sourceColumn: order_id + sourceColumnDataType: STRING links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - id: customer_name type: attribute attributes: @@ -2303,7 +1831,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2318,7 +1846,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2333,7 +1861,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2350,7 +1878,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2366,7 +1894,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2381,7 +1909,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2396,7 +1924,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2411,7 +1939,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2427,7 +1955,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2438,12 +1966,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2459,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2475,7 +2019,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2491,7 +2035,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2508,7 +2052,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2524,7 +2068,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2540,7 +2084,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2556,7 +2100,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2567,28 +2111,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2603,7 +2131,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2618,7 +2146,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2633,7 +2161,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2648,7 +2176,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2663,7 +2191,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2678,7 +2206,7 @@ interactions: next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5e18774442ab8b8d1c7a6e45a368ca07501a1a67?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/36179e6e0cb6d844ac6832a64afedfddc49f2f2a?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml index 0f53039d9..0c787405b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 218af020e85f8864 + traceId: 3a452ad21e400d85 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -186,8 +186,8 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - name: Test type: BIGQUERY + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -281,8 +281,8 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - name: Test type: BIGQUERY + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml index 3872c8ce7..bb327843b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_data_sources_list.yaml @@ -82,8 +82,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL + name: demo-test-ds schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml index 67ccebfc3..1cb1d7fcb 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_generate_logical_model.yaml @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '6227' + - '6088' body: string: ldm: @@ -388,21 +388,11 @@ interactions: dateInstances: - description: '' granularities: - - MINUTE - - HOUR - DAY - WEEK - MONTH - QUARTER - YEAR - - MINUTE_OF_HOUR - - HOUR_OF_DAY - - DAY_OF_WEEK - - DAY_OF_MONTH - - DAY_OF_YEAR - - WEEK_OF_YEAR - - MONTH_OF_YEAR - - QUARTER_OF_YEAR granularitiesFormatting: titleBase: '' titlePattern: '%titleBase - %granularityTitle' diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml index 034c11a3f..4bbd291d7 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_load_and_put_declarative_data_sources.yaml @@ -168,7 +168,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -220,8 +220,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 4ed66bf0-4524-4308-aad0-3b6b5965087e + oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml index e71daad24..4af2b58fb 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml @@ -177,7 +177,7 @@ interactions: body: string: queryDurationMillis: - simpleSelect: 0 + simpleSelect: 1 successful: true - request: method: PUT diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml index dc3a6738d..a87b2bf02 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_register_upload_notification.yaml @@ -81,7 +81,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -96,7 +96,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -111,7 +111,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -128,7 +128,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -144,7 +144,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -159,7 +159,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -174,7 +174,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -189,7 +189,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -205,7 +205,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -216,12 +216,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2023-12-14 14:09 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Outdoor") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor + meta: + origin: + originType: NATIVE + originId: demo - id: percent_revenue_from_top_10_percent_products type: metric attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -237,7 +253,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -253,7 +269,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -269,7 +285,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -286,7 +302,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -302,7 +318,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -318,7 +334,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -334,7 +350,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -345,28 +361,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2023-11-29 11:45 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Outdoor") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-outdoor - meta: - origin: - originType: NATIVE - originId: demo - id: revenue_per_customer type: metric attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -381,7 +381,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -396,7 +396,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -411,7 +411,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -426,7 +426,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -441,7 +441,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -558,7 +558,7 @@ interactions: name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: cab24635f4ba13b160398a6a0006532be1b55e02 + executionResult: f15e9edaef88e159cad0147b13168b43c88f5977 - request: method: POST uri: http://localhost:3000/api/v1/actions/dataSources/demo-test-ds/uploadNotification @@ -732,4 +732,4 @@ interactions: name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: b7a9326a6cc24ffacdd2ede7a7daad73be2c3491 + executionResult: 4253678ba7905ba92a828596c261cd1558a202b0 diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml index d13608a9b..36c5e11d2 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_scan_pdm_and_generate_logical_model.yaml @@ -74,7 +74,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '6227' + - '6088' body: string: ldm: @@ -388,21 +388,11 @@ interactions: dateInstances: - description: '' granularities: - - MINUTE - - HOUR - DAY - WEEK - MONTH - QUARTER - YEAR - - MINUTE_OF_HOUR - - HOUR_OF_DAY - - DAY_OF_WEEK - - DAY_OF_MONTH - - DAY_OF_YEAR - - WEEK_OF_YEAR - - MONTH_OF_YEAR - - QUARTER_OF_YEAR granularitiesFormatting: titleBase: '' titlePattern: '%titleBase - %granularityTitle' diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml index 0c3698280..ca26104ca 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml @@ -282,7 +282,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -334,8 +334,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 4ed66bf0-4524-4308-aad0-3b6b5965087e + oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -434,7 +433,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -486,7 +485,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 4ed66bf0-4524-4308-aad0-3b6b5965087e + oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml index 830abfb41..7801ade0e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6d170931d3dbc286 + traceId: cda563a554acc37a - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,8 +177,8 @@ interactions: enableCaching: true cachePath: - $scratch - name: Dremio type: DREMIO + name: Dremio schema: '' links: self: http://localhost:3000/api/v1/entities/dataSources/dremio @@ -264,8 +264,8 @@ interactions: enableCaching: true cachePath: - $scratch - name: Dremio type: DREMIO + name: Dremio schema: '' links: self: http://localhost:3000/api/v1/entities/dataSources/dremio diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml index a3020c199..ecab739cf 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml @@ -82,8 +82,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL + name: demo-test-ds schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6a36be9b72f20fbf + traceId: 0ec958df1bf2968c - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,8 +265,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -352,8 +352,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -439,8 +439,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -535,8 +535,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test2 type: POSTGRESQL + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -622,8 +622,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test2 type: POSTGRESQL + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml index 411c6664e..324174eb3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4deb680d8e1d66f8 + traceId: 9c5287ef18ce2c8c - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,8 +173,8 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - name: Test2 type: REDSHIFT + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -258,8 +258,8 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - name: Test2 type: REDSHIFT + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml index 2e6898d86..7767b4d4d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4d8801be305db917 + traceId: 0e66ac1330992e4d - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,8 +177,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: SNOWFLAKE + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -264,8 +264,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: SNOWFLAKE + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml index 83a061e9b..1a4c785b8 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/test_create_update.yaml @@ -82,8 +82,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL + name: demo-test-ds schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: fdbb879a415bfea0 + traceId: 38c4619049c8b263 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,8 +265,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -352,8 +352,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -439,8 +439,8 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL + name: Test schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -537,8 +537,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -622,8 +622,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL + name: demo-test-ds schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -633,8 +633,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -788,8 +788,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL + name: demo-test-ds schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml index 21110e637..aa923536b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 0dc474731c9b4ec9 + traceId: 1eb831dec5f28817 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,8 +173,8 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - name: Test2 type: VERTICA + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test @@ -258,8 +258,8 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - name: Test2 type: VERTICA + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/test diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml index ef6216de8..f47df1ccc 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: b955f01a6ef026ba + traceId: 4fabcfc27d2e0212 - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml index 794043e24..a89511305 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml @@ -235,7 +235,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: bcbfa6217a7d3ae8 + traceId: b327d1325f1dcf8c - request: method: GET uri: http://localhost:3000/api/v1/entities/cspDirectives?page=0&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml index 52620f472..aee6ba0e7 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 43f09bdfae8a4afc + traceId: c560def7f422edc4 - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks @@ -329,7 +329,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c988eb0261fc30a6 + traceId: d61cc16fdca52746 - request: method: GET uri: http://localhost:3000/api/v1/entities/jwks?page=0&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml index 860954667..81245f522 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml @@ -237,7 +237,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: ab89f3a4a51cedf8 + traceId: 4564bb1fe02d2794 - request: method: GET uri: http://localhost:3000/api/v1/entities/organizationSettings?page=0&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml index 6d59ea661..7c26c6826 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 27e1358599b5dd5a + traceId: c902d50f30c4d7cb - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks @@ -262,7 +262,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: d0cc10ee3424a6fd + traceId: 0bcd360c104edeb0 - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml index 2e264d34b..50c630cb3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,7 +150,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 4ed66bf0-4524-4308-aad0-3b6b5965087e + oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml index 2eb4a45fb..892a4d69e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,8 +150,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -166,7 +165,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec headers: Accept: - application/vnd.gooddata.api+json @@ -246,7 +245,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -399,7 +398,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -552,7 +551,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -566,7 +565,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec headers: Accept: - application/vnd.gooddata.api+json @@ -645,7 +644,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -797,6 +796,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml index b2977014d..4ac22ae3b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 98619ec9ddaffa62 + traceId: 6ca686937fa4281a - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml index 8fc930a4b..35caeda3b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,8 +150,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -250,7 +249,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -302,8 +301,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -316,8 +314,7 @@ interactions: attributes: name: test_organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec headers: Accept: - application/vnd.gooddata.api+json @@ -343,7 +340,7 @@ interactions: Connection: - keep-alive Content-Length: - - '272' + - '252' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -395,8 +392,7 @@ interactions: attributes: name: test_organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -495,7 +491,7 @@ interactions: Connection: - keep-alive Content-Length: - - '272' + - '252' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -547,8 +543,7 @@ interactions: attributes: name: test_organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -647,7 +642,7 @@ interactions: Connection: - keep-alive Content-Length: - - '272' + - '252' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -699,8 +694,7 @@ interactions: attributes: name: test_organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -713,8 +707,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec headers: Accept: - application/vnd.gooddata.api+json @@ -740,7 +733,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -792,8 +785,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -892,7 +884,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -944,7 +936,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml index 01f610322..5610f6a09 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml @@ -98,7 +98,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -150,8 +150,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 4ed66bf0-4524-4308-aad0-3b6b5965087e + oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -250,7 +249,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -302,8 +301,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 4ed66bf0-4524-4308-aad0-3b6b5965087e + oauthClientId: a69fdb5a-efed-4a5b-a39d-774f4f256757 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -316,7 +314,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' oauthClientSecret: password @@ -345,7 +342,7 @@ interactions: Connection: - keep-alive Content-Length: - - '278' + - '258' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -397,7 +394,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' links: @@ -498,7 +494,7 @@ interactions: Connection: - keep-alive Content-Length: - - '278' + - '258' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -550,7 +546,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' links: @@ -651,7 +646,7 @@ interactions: Connection: - keep-alive Content-Length: - - '278' + - '258' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -703,7 +698,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] oauthIssuerLocation: test.com oauthClientId: '123456' links: @@ -718,7 +712,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] headers: Accept: - application/vnd.gooddata.api+json @@ -744,7 +737,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -796,8 +789,7 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -896,7 +888,7 @@ interactions: Connection: - keep-alive Content-Length: - - '275' + - '255' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -948,7 +940,6 @@ interactions: attributes: name: Default Organization hostname: localhost - allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml index b067a8b78..cb86fd441 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/list_available_assignees.yaml @@ -78,8 +78,8 @@ interactions: body: string: userGroups: - - id: visitorsGroup - name: visitors - id: demoGroup name: demo group + - id: visitorsGroup + name: visitors users: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml index e2ad7e262..c71feb10e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/permissions/manage_dashboard_permissions_declarative_workspace.yaml @@ -239,7 +239,7 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '37168' + - '37029' body: string: analytics: @@ -292,7 +292,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -339,7 +339,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -489,7 +489,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -500,7 +500,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -510,7 +510,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -559,7 +559,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -568,7 +568,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -578,7 +578,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -588,7 +588,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -598,7 +598,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -607,7 +607,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -616,7 +616,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -626,7 +626,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -636,7 +636,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -646,7 +646,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -656,7 +656,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -666,7 +666,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -676,7 +676,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -686,7 +686,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -697,7 +697,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -707,7 +707,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -717,7 +717,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -727,7 +727,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -736,7 +736,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -745,7 +745,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -754,7 +754,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -763,7 +763,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -772,7 +772,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -781,7 +781,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -846,7 +846,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -922,7 +922,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1001,7 +1001,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1060,7 +1060,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1117,7 +1117,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1170,7 +1170,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1245,7 +1245,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1302,7 +1302,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1401,7 +1401,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1457,7 +1457,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1496,7 +1496,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1552,7 +1552,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1620,7 +1620,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1677,7 +1677,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -1734,7 +1734,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:45 + createdAt: 2023-12-14 14:09 createdBy: id: admin type: user @@ -2051,21 +2051,11 @@ interactions: dateInstances: - description: '' granularities: - - MINUTE - - HOUR - DAY - WEEK - MONTH - QUARTER - YEAR - - MINUTE_OF_HOUR - - HOUR_OF_DAY - - DAY_OF_WEEK - - DAY_OF_MONTH - - DAY_OF_YEAR - - WEEK_OF_YEAR - - MONTH_OF_YEAR - - QUARTER_OF_YEAR granularitiesFormatting: titleBase: '' titlePattern: '%titleBase - %granularityTitle' diff --git a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml index 8175d5236..a848918be 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml @@ -89,7 +89,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 1ddcff7a93c7085f + traceId: 3c857256c62115f7 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -468,20 +468,6 @@ interactions: body: string: data: - - id: newUser - type: user - attributes: - authenticationId: newUser_auth_id - firstname: john - lastname: doe - email: john.doe@email.com - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/newUser - id: admin type: user attributes: {} @@ -495,7 +481,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -506,7 +492,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -514,6 +500,20 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo2 + - id: newUser + type: user + attributes: + authenticationId: newUser_auth_id + firstname: john + lastname: doe + email: john.doe@email.com + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/newUser included: - id: adminGroup type: userGroup @@ -683,7 +683,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -694,7 +694,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml index 75719e539..98cd14f78 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user_group.yaml @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a323d88f391bd45a + traceId: 3c75f1a6bf7d4952 - request: method: POST uri: http://localhost:3000/api/v1/entities/userGroups @@ -459,17 +459,6 @@ interactions: body: string: data: - - id: newUserGroup - type: userGroup - attributes: - name: NEWUSERGROUP - relationships: - parents: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/userGroups/newUserGroup - id: adminGroup type: userGroup attributes: {} @@ -491,6 +480,17 @@ interactions: name: demo group links: self: http://localhost:3000/api/v1/entities/userGroups/demoGroup + - id: newUserGroup + type: userGroup + attributes: + name: NEWUSERGROUP + relationships: + parents: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/userGroups/newUserGroup - id: visitorsGroup type: userGroup attributes: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml index 3fb113510..facf325e7 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml index 448693607..4303f8bd0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users_user_groups.yaml @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] diff --git a/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml index b1348730d..8b78643c3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml index 42866e067..666be5a63 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml @@ -89,7 +89,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml index ed0d66843..557d6213e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_user_groups.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -264,17 +264,6 @@ interactions: body: string: data: - - id: demo2 - type: user - attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/demo2 - id: admin type: user attributes: {} @@ -288,7 +277,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -296,6 +285,17 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo + - id: demo2 + type: user + attributes: + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/demo2 included: - id: adminGroup type: userGroup @@ -599,7 +599,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -878,14 +878,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml index d020e3829..14ef31422 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -185,7 +185,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -196,7 +196,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -435,7 +435,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -636,14 +636,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml index 3205258c6..7a2d18665 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/load_and_put_declarative_users_user_groups.yaml @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -202,7 +202,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -213,7 +213,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -524,7 +524,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -776,14 +776,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml index 1e1f40337..ea05b3d40 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_user_groups.yaml @@ -176,14 +176,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -277,7 +277,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -288,7 +288,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -726,14 +726,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml index 6925fcb26..334ad92d5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -172,17 +172,6 @@ interactions: body: string: data: - - id: demo2 - type: user - attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/demo2 - id: admin type: user attributes: {} @@ -196,7 +185,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -204,6 +193,17 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo + - id: demo2 + type: user + attributes: + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/demo2 included: - id: adminGroup type: userGroup @@ -298,14 +298,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -458,14 +458,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -484,14 +484,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml index 9ec939679..49d957f75 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users_user_groups.yaml @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -189,17 +189,6 @@ interactions: body: string: data: - - id: demo2 - type: user - attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/demo2 - id: admin type: user attributes: {} @@ -213,7 +202,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -221,6 +210,17 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo + - id: demo2 + type: user + attributes: + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/demo2 included: - id: adminGroup type: userGroup @@ -404,14 +404,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -581,14 +581,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -624,14 +624,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml index d8589bfbb..7bb56faa2 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_user_groups.yaml @@ -335,7 +335,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -487,6 +487,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml index 4949b2d29..01feffbf1 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -343,7 +343,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -495,6 +495,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml index ae5596a9f..1d7253509 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users_user_groups.yaml @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -377,7 +377,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -529,6 +529,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml index b1348730d..8b78643c3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_group.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml index b1348730d..8b78643c3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_add_user_groups.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml index b1348730d..8b78643c3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_remove_user_groups.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml index b1348730d..8b78643c3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/test_user_replace_user_groups.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml index e2056ea04..e12e80eee 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -171,7 +171,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -533,7 +533,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c70558c9c67db716 + traceId: 75067937bf683f52 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -542,7 +542,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -623,7 +623,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/users/demo2 - request: @@ -700,17 +700,6 @@ interactions: body: string: data: - - id: demo2 - type: user - attributes: - authenticationId: CiQ3MjEzOWJmZi0zYTdjLTRlOTItOGE0Ny1hMmI1Mjc5YjRiZGISBWxvY2Fs - relationships: - userGroups: - data: - - id: demoGroup - type: userGroup - links: - self: http://localhost:3000/api/v1/entities/users/demo2 - id: admin type: user attributes: {} @@ -724,7 +713,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -732,6 +721,17 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/users/demo + - id: demo2 + type: user + attributes: + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs + relationships: + userGroups: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/users/demo2 included: - id: adminGroup type: userGroup diff --git a/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml index ff6608838..c2a768e8b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml @@ -694,12 +694,6 @@ interactions: body: string: data: - - id: demoGroup - type: userGroup - attributes: - name: demo group - links: - self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: adminGroup type: userGroup attributes: {} @@ -715,6 +709,12 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/userGroups/adminQA1Group + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: visitorsGroup type: userGroup attributes: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml index 90e6b4143..4ae0494b6 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/analytics_store_load.yaml @@ -127,7 +127,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -170,7 +170,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -320,7 +320,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -331,7 +331,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -341,7 +341,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -390,7 +390,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -399,7 +399,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -409,7 +409,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -419,7 +419,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -429,7 +429,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -438,7 +438,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -447,7 +447,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -457,7 +457,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -467,7 +467,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -477,7 +477,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -487,7 +487,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -497,7 +497,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -507,7 +507,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -517,7 +517,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -528,7 +528,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -538,7 +538,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -548,7 +548,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -558,7 +558,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -567,7 +567,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -576,7 +576,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -585,7 +585,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -594,7 +594,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -603,7 +603,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -612,7 +612,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -677,7 +677,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -753,7 +753,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -832,7 +832,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -891,7 +891,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -948,7 +948,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1001,7 +1001,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1076,7 +1076,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1133,7 +1133,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1232,7 +1232,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1288,7 +1288,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1327,7 +1327,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1383,7 +1383,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1451,7 +1451,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1508,7 +1508,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1565,7 +1565,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1696,7 +1696,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1739,7 +1739,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1889,7 +1889,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1900,7 +1900,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1910,7 +1910,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1959,7 +1959,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1968,7 +1968,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1978,7 +1978,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1988,7 +1988,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1998,7 +1998,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2007,7 +2007,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2016,7 +2016,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2026,7 +2026,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2036,7 +2036,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2046,7 +2046,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2056,7 +2056,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2066,7 +2066,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2076,7 +2076,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2086,7 +2086,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2097,7 +2097,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2107,7 +2107,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2117,7 +2117,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2127,7 +2127,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2136,7 +2136,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2145,7 +2145,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2154,7 +2154,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2163,7 +2163,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2172,7 +2172,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2181,7 +2181,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2246,7 +2246,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2322,7 +2322,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2401,7 +2401,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2460,7 +2460,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2517,7 +2517,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2570,7 +2570,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2645,7 +2645,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2702,7 +2702,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2801,7 +2801,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2857,7 +2857,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2896,7 +2896,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2952,7 +2952,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3020,7 +3020,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3077,7 +3077,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3134,7 +3134,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml index c9ee475a4..a16dc10d0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml @@ -126,31 +126,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -251,220 +226,206 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.dayOfMonth type: attribute attributes: - title: State - description: State + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Customers + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: - defaultView: - data: - id: state - type: label dataset: data: - id: customers + id: date type: dataset labels: data: - - id: state - type: label - - id: geo__state__location + - id: date.dayOfMonth type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.dayOfWeek type: attribute attributes: - title: Order id - description: Order id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Order lines + - Date + granularity: DAY_OF_WEEK areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.dayOfYear type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Order lines + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.hour type: attribute attributes: - title: Order status - description: Order status + title: Date - Hour + description: Hour tags: - - Order lines + - Date + granularity: HOUR areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.hourOfDay type: attribute attributes: - title: Product id - description: Product id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Products + - Date + granularity: HOUR_OF_DAY areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.minute type: attribute attributes: - title: Product name - description: Product name + title: Date - Minute + description: Minute tags: - - Products + - Date + granularity: MINUTE areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.minuteOfHour type: attribute attributes: - title: Category - description: Category + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Products + - Date + granularity: MINUTE_OF_HOUR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: date.month type: attribute attributes: - title: Date - Minute - description: Minute + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: MINUTE + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -473,22 +434,22 @@ interactions: type: dataset labels: data: - - id: date.minute + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: date.monthOfYear type: attribute attributes: - title: Date - Hour - description: Hour + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - Date - granularity: HOUR + granularity: MONTH_OF_YEAR areRelationsValid: true relationships: dataset: @@ -497,22 +458,22 @@ interactions: type: dataset labels: data: - - id: date.hour + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: date.quarter type: attribute attributes: - title: Date - Date - description: Date + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: DAY + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -521,22 +482,22 @@ interactions: type: dataset labels: data: - - id: date.day + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.quarterOfYear type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - Date - granularity: WEEK + granularity: QUARTER_OF_YEAR areRelationsValid: true relationships: dataset: @@ -545,22 +506,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.week type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: MONTH + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -569,22 +530,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.weekOfYear type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - Date - granularity: QUARTER + granularity: WEEK_OF_YEAR areRelationsValid: true relationships: dataset: @@ -593,10 +554,10 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE @@ -625,194 +586,233 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: order_id type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Order id + description: Order id tags: - - Date - granularity: MINUTE_OF_HOUR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minuteOfHour + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_line_id type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order line id + description: Order line id tags: - - Date - granularity: HOUR_OF_DAY + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.hourOfDay + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_status type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: product_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Product id + description: Product id tags: - - Date - granularity: DAY_OF_MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfMonth + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: products + type: dataset + labels: + data: + - id: product_name + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + meta: + origin: + originType: NATIVE + originId: demo + - id: products.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfYear + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: region type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Region + description: Region tags: - - Date - granularity: WEEK_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.weekOfYear + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: type type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Type + description: Type tags: - - Date - granularity: QUARTER_OF_YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.quarterOfYear + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE @@ -877,6 +877,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -890,14 +902,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -913,18 +925,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1472,12 +1472,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1540,18 +1540,66 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + description: '' + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.quarterOfYear + type: attribute + - id: date.week + type: attribute + - id: date.quarter + type: attribute + - id: date.monthOfYear + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour + type: attribute + - id: date.hour + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.dayOfMonth + type: attribute + - id: date.weekOfYear + type: attribute + - id: date.year + type: attribute + - id: date.dayOfWeek + type: attribute + - id: date.dayOfYear + type: attribute + - id: date.minute + type: attribute + - id: date.month + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1563,6 +1611,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1576,14 +1636,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1599,49 +1659,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1673,10 +1721,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1685,54 +1733,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo included: - id: product_id type: attribute @@ -2175,7 +2175,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2190,7 +2190,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2205,7 +2205,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2222,7 +2222,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2238,7 +2238,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2253,7 +2253,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2268,7 +2268,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2283,7 +2283,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2299,7 +2299,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2315,7 +2315,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2331,7 +2331,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2347,7 +2347,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2363,7 +2363,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2380,7 +2380,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2396,7 +2396,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2412,7 +2412,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2428,7 +2428,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2444,7 +2444,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2460,7 +2460,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2475,7 +2475,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2490,7 +2490,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2505,7 +2505,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2520,7 +2520,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2535,7 +2535,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml index 1395dacf1..578f0d3bf 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_availability.yaml @@ -126,31 +126,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -251,220 +226,206 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.dayOfMonth type: attribute attributes: - title: State - description: State + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Customers + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: - defaultView: - data: - id: state - type: label dataset: data: - id: customers + id: date type: dataset labels: data: - - id: state - type: label - - id: geo__state__location + - id: date.dayOfMonth type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.dayOfWeek type: attribute attributes: - title: Order id - description: Order id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Order lines + - Date + granularity: DAY_OF_WEEK areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.dayOfYear type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Order lines + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.hour type: attribute attributes: - title: Order status - description: Order status + title: Date - Hour + description: Hour tags: - - Order lines + - Date + granularity: HOUR areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.hourOfDay type: attribute attributes: - title: Product id - description: Product id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Products + - Date + granularity: HOUR_OF_DAY areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.minute type: attribute attributes: - title: Product name - description: Product name + title: Date - Minute + description: Minute tags: - - Products + - Date + granularity: MINUTE areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.minuteOfHour type: attribute attributes: - title: Category - description: Category + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Products + - Date + granularity: MINUTE_OF_HOUR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: date.month type: attribute attributes: - title: Date - Minute - description: Minute + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: MINUTE + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -473,22 +434,22 @@ interactions: type: dataset labels: data: - - id: date.minute + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: date.monthOfYear type: attribute attributes: - title: Date - Hour - description: Hour + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - Date - granularity: HOUR + granularity: MONTH_OF_YEAR areRelationsValid: true relationships: dataset: @@ -497,22 +458,22 @@ interactions: type: dataset labels: data: - - id: date.hour + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: date.quarter type: attribute attributes: - title: Date - Date - description: Date + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: DAY + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -521,22 +482,22 @@ interactions: type: dataset labels: data: - - id: date.day + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.quarterOfYear type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - Date - granularity: WEEK + granularity: QUARTER_OF_YEAR areRelationsValid: true relationships: dataset: @@ -545,22 +506,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.week type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: MONTH + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -569,22 +530,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.weekOfYear type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - Date - granularity: QUARTER + granularity: WEEK_OF_YEAR areRelationsValid: true relationships: dataset: @@ -593,10 +554,10 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE @@ -625,194 +586,233 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: order_id type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Order id + description: Order id tags: - - Date - granularity: MINUTE_OF_HOUR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minuteOfHour + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_line_id type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order line id + description: Order line id tags: - - Date - granularity: HOUR_OF_DAY + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.hourOfDay + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_status type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: product_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Product id + description: Product id tags: - - Date - granularity: DAY_OF_MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfMonth + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: products + type: dataset + labels: + data: + - id: product_name + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + meta: + origin: + originType: NATIVE + originId: demo + - id: products.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfYear + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: region type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Region + description: Region tags: - - Date - granularity: WEEK_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.weekOfYear + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: type type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Type + description: Type tags: - - Date - granularity: QUARTER_OF_YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.quarterOfYear + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE @@ -877,6 +877,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -890,14 +902,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -913,18 +925,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -1472,12 +1472,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -1540,18 +1540,66 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + description: '' + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.quarterOfYear + type: attribute + - id: date.week + type: attribute + - id: date.quarter + type: attribute + - id: date.monthOfYear + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour + type: attribute + - id: date.hour + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.dayOfMonth + type: attribute + - id: date.weekOfYear + type: attribute + - id: date.year + type: attribute + - id: date.dayOfWeek + type: attribute + - id: date.dayOfYear + type: attribute + - id: date.minute + type: attribute + - id: date.month + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -1563,6 +1611,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -1576,14 +1636,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -1599,49 +1659,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -1673,10 +1721,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -1685,54 +1733,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo included: - id: product_id type: attribute @@ -2175,7 +2175,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2190,7 +2190,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2205,7 +2205,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2222,7 +2222,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2238,7 +2238,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2253,7 +2253,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2268,7 +2268,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2283,7 +2283,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2299,7 +2299,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2315,7 +2315,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2331,7 +2331,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2347,7 +2347,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2363,7 +2363,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2380,7 +2380,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2396,7 +2396,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2412,7 +2412,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2428,7 +2428,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2444,7 +2444,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2460,7 +2460,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2475,7 +2475,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2490,7 +2490,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2505,7 +2505,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2520,7 +2520,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2535,7 +2535,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_attributes.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_attributes.yaml index ab229094f..23d3aeeed 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_attributes.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_attributes.yaml @@ -76,142 +76,148 @@ interactions: body: string: data: - - id: date.week + - id: campaign_channel_id type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Campaign channel id + description: Campaign channel id tags: - - Date - granularity: WEEK + - Campaign channels areRelationsValid: true + sourceColumn: campaign_channel_id + sourceColumnDataType: STRING relationships: labels: data: - - id: date.week + - id: campaign_channel_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: campaign_channels.category type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Category + description: Category tags: - - Date - granularity: MONTH + - Campaign channels areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: labels: data: - - id: date.month + - id: campaign_channels.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: campaign_id type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Campaign id + description: Campaign id tags: - - Date - granularity: QUARTER + - Campaigns areRelationsValid: true + sourceColumn: campaign_id + sourceColumnDataType: INT relationships: labels: data: - - id: date.quarter + - id: campaign_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: campaign_name type: attribute attributes: - title: Date - Year - description: Year + title: Campaign name + description: Campaign name tags: - - Date - granularity: YEAR + - Campaigns areRelationsValid: true + sourceColumn: campaign_name + sourceColumnDataType: STRING relationships: labels: data: - - id: date.year + - id: campaign_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: customer_id type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Customer id + description: Customer id tags: - - Date - granularity: MINUTE_OF_HOUR + - Customers areRelationsValid: true + sourceColumn: customer_id + sourceColumnDataType: INT relationships: labels: data: - - id: date.minuteOfHour + - id: customer_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: customer_name type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Customer name + description: Customer name tags: - - Date - granularity: HOUR_OF_DAY + - Customers areRelationsValid: true + sourceColumn: customer_name + sourceColumnDataType: STRING relationships: labels: data: - - id: date.hourOfDay + - id: customer_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: date.day type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Date + description: Date tags: - Date - granularity: DAY_OF_WEEK + granularity: DAY areRelationsValid: true relationships: labels: data: - - id: date.dayOfWeek + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE @@ -236,273 +242,262 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: date.dayOfWeek type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - Date - granularity: DAY_OF_YEAR + granularity: DAY_OF_WEEK areRelationsValid: true relationships: labels: data: - - id: date.dayOfYear + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.dayOfYear type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - Date - granularity: WEEK_OF_YEAR + granularity: DAY_OF_YEAR areRelationsValid: true relationships: labels: data: - - id: date.weekOfYear + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: date.hour type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Date - Hour + description: Hour tags: - Date - granularity: MONTH_OF_YEAR + granularity: HOUR areRelationsValid: true relationships: labels: data: - - id: date.monthOfYear + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: date.hourOfDay type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - Date - granularity: QUARTER_OF_YEAR + granularity: HOUR_OF_DAY areRelationsValid: true relationships: labels: data: - - id: date.quarterOfYear + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: campaign_channel_id + - id: date.minute type: attribute attributes: - title: Campaign channel id - description: Campaign channel id + title: Date - Minute + description: Minute tags: - - Campaign channels + - Date + granularity: MINUTE areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING relationships: labels: data: - - id: campaign_channel_id + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: campaign_channels.category + - id: date.minuteOfHour type: attribute attributes: - title: Category - description: Category + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Campaign channels + - Date + granularity: MINUTE_OF_HOUR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: labels: data: - - id: campaign_channels.category + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: type + - id: date.month type: attribute attributes: - title: Type - description: Type + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Campaign channels + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: labels: data: - - id: type + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: campaign_id + - id: date.monthOfYear type: attribute attributes: - title: Campaign id - description: Campaign id + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - - Campaigns + - Date + granularity: MONTH_OF_YEAR areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT relationships: labels: data: - - id: campaign_id + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: campaign_name + - id: date.quarter type: attribute attributes: - title: Campaign name - description: Campaign name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Campaigns + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING relationships: labels: data: - - id: campaign_name + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: customer_id + - id: date.quarterOfYear type: attribute attributes: - title: Customer id - description: Customer id + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - - Customers + - Date + granularity: QUARTER_OF_YEAR areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT relationships: labels: data: - - id: customer_id + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE originId: demo - - id: customer_name + - id: date.week type: attribute attributes: - title: Customer name - description: Customer name + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Customers + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING relationships: labels: data: - - id: customer_name + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.weekOfYear type: attribute attributes: - title: Region - description: Region + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Customers + - Date + granularity: WEEK_OF_YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: labels: data: - - id: region + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.year type: attribute attributes: - title: State - description: State + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: labels: data: - - id: state - type: label - - id: geo__state__location + - id: date.year type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year meta: origin: originType: NATIVE @@ -633,62 +628,67 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute + - id: region type: attribute attributes: - title: Date - Minute - description: Minute + title: Region + description: Region tags: - - Date - granularity: MINUTE + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: labels: data: - - id: date.minute + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: state type: attribute attributes: - title: Date - Hour - description: Hour + title: State + description: State tags: - - Date - granularity: HOUR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: labels: data: - - id: date.hour + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: type type: attribute attributes: - title: Date - Date - description: Date + title: Type + description: Type tags: - - Date - granularity: DAY + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: labels: data: - - id: date.day + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml index f6fc2d521..01d7007c3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_facts.yaml @@ -92,22 +92,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: spend - type: fact - attributes: - title: Spend - description: Spend - tags: - - Campaign channels - sourceColumn: spend - sourceColumnDataType: NUMERIC - areRelationsValid: true - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend - meta: - origin: - originType: NATIVE - originId: demo - id: price type: fact attributes: @@ -140,6 +124,22 @@ interactions: origin: originType: NATIVE originId: demo + - id: spend + type: fact + attributes: + title: Spend + description: Spend + tags: + - Campaign channels + sourceColumn: spend + sourceColumnDataType: NUMERIC + areRelationsValid: true + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/facts/spend + meta: + origin: + originType: NATIVE + originId: demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo/facts?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/facts?page=1&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml index d2aca3064..f79a16481 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_labels.yaml @@ -76,114 +76,126 @@ interactions: body: string: data: - - id: date.week + - id: campaign_channel_id type: label attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Campaign channel id + description: Campaign channel id tags: - - Date + - Campaign channels primary: true - sourceColumn: '' + sourceColumn: campaign_channel_id + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: campaign_channels.category type: label attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Category + description: Category tags: - - Date + - Campaign channels primary: true - sourceColumn: '' + sourceColumn: category + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: campaign_id type: label attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Campaign id + description: Campaign id tags: - - Date + - Campaigns primary: true - sourceColumn: '' + sourceColumn: campaign_id + sourceColumnDataType: INT + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id meta: origin: originType: NATIVE originId: demo - - id: date.year + - id: campaign_name type: label attributes: - title: Date - Year - description: Year + title: Campaign name + description: Campaign name tags: - - Date + - Campaigns primary: true - sourceColumn: '' + sourceColumn: campaign_name + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name meta: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: customer_id type: label attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Customer id + description: Customer id tags: - - Date + - Customers primary: true - sourceColumn: '' + sourceColumn: customer_id + sourceColumnDataType: INT + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: customer_name type: label attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Customer name + description: Customer name tags: - - Date + - Customers primary: true - sourceColumn: '' + sourceColumn: customer_name + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: date.day type: label attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Date - Date + description: Date tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day meta: origin: originType: NATIVE @@ -204,228 +216,210 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: date.dayOfWeek type: label attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: date.dayOfYear type: label attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: date.hour type: label attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Date - Hour + description: Hour tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: date.hourOfDay type: label attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - Date primary: true sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: campaign_channel_id + - id: date.minute type: label attributes: - title: Campaign channel id - description: Campaign channel id + title: Date - Minute + description: Minute tags: - - Campaign channels + - Date primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute meta: origin: originType: NATIVE originId: demo - - id: campaign_channels.category + - id: date.minuteOfHour type: label attributes: - title: Category - description: Category + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Campaign channels + - Date primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: type + - id: date.month type: label attributes: - title: Type - description: Type + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Campaign channels + - Date primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month meta: origin: originType: NATIVE originId: demo - - id: campaign_id + - id: date.monthOfYear type: label attributes: - title: Campaign id - description: Campaign id + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - - Campaigns + - Date primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: campaign_name + - id: date.quarter type: label attributes: - title: Campaign name - description: Campaign name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Campaigns + - Date primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter meta: origin: originType: NATIVE originId: demo - - id: customer_id + - id: date.quarterOfYear type: label attributes: - title: Customer id - description: Customer id + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - - Customers + - Date primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear meta: origin: originType: NATIVE originId: demo - - id: customer_name + - id: date.week type: label attributes: - title: Customer name - description: Customer name + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Customers + - Date primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.weekOfYear type: label attributes: - title: Region - description: Region + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Customers + - Date primary: true - sourceColumn: region - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.year type: label attributes: - title: State - description: State + title: Date - Year + description: Year tags: - - Customers + - Date primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT + sourceColumn: '' areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year meta: origin: originType: NATIVE @@ -555,50 +549,56 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minute + - id: region type: label attributes: - title: Date - Minute - description: Minute + title: Region + description: Region tags: - - Date + - Customers primary: true - sourceColumn: '' + sourceColumn: region + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: state type: label attributes: - title: Date - Hour - description: Hour + title: State + description: State tags: - - Date + - Customers primary: true - sourceColumn: '' + sourceColumn: state + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: type type: label attributes: - title: Date - Date - description: Date + title: Type + description: Type tags: - - Date + - Campaign channels primary: true - sourceColumn: '' + sourceColumn: type + sourceColumnDataType: STRING + valueType: TEXT areRelationsValid: true links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type meta: origin: originType: NATIVE diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml index 82dfadea5..f335cc46e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog_list_metrics.yaml @@ -81,7 +81,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -96,7 +96,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -111,7 +111,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -128,7 +128,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -144,7 +144,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -159,7 +159,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -174,7 +174,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -189,7 +189,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -205,7 +205,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -221,7 +221,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -237,7 +237,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -253,7 +253,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -269,7 +269,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -286,7 +286,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -302,7 +302,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -318,7 +318,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -334,7 +334,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -350,7 +350,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -366,7 +366,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -381,7 +381,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -396,7 +396,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -411,7 +411,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -426,7 +426,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -441,7 +441,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml index 9882b1cea..80a1f2273 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_get_dependent_entities_graph.yaml @@ -101,15 +101,15 @@ interactions: type: dataset - - id: customer_id type: attribute - - id: amount_of_active_customers + - id: amount_of_top_customers type: metric - - id: customer_id type: attribute - - id: percent_revenue_from_top_10_percent_customers + - id: amount_of_active_customers type: metric - - id: customer_id type: attribute - - id: amount_of_top_customers + - id: percent_revenue_from_top_10_percent_customers type: metric - - id: customer_id type: attribute @@ -187,14 +187,14 @@ interactions: type: attribute - id: product_revenue_comparison-over_previous_period type: visualizationObject - - - id: order_id - type: attribute - - id: order_lines - type: dataset - - id: order_id type: attribute - id: amount_of_orders type: metric + - - id: order_id + type: attribute + - id: order_lines + type: dataset - - id: order_line_id type: attribute - id: amount_of_active_customers @@ -209,7 +209,7 @@ interactions: type: dataset - - id: product_id type: attribute - - id: percent_revenue_per_product + - id: percent_revenue_from_top_10_percent_products type: metric - - id: product_id type: attribute @@ -221,7 +221,7 @@ interactions: type: metric - - id: product_id type: attribute - - id: percent_revenue_from_top_10_percent_products + - id: percent_revenue_per_product type: metric - - id: product_name type: attribute @@ -265,28 +265,28 @@ interactions: type: dataset - - id: date type: dataset - - id: revenue_by_category_trend - type: visualizationObject + - id: product_and_category + type: analyticalDashboard - - id: date type: dataset - - id: product_revenue_comparison-over_previous_period + - id: revenue_trend type: visualizationObject - - id: date type: dataset - - id: order_lines - type: dataset + - id: customers_trend + type: visualizationObject - - id: date type: dataset - - id: customers_trend + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: date type: dataset - - id: revenue_trend + - id: revenue_by_category_trend type: visualizationObject - - id: date type: dataset - - id: product_and_category - type: analyticalDashboard + - id: order_lines + type: dataset - - id: date type: dataset - id: percentage_of_customers_by_region @@ -299,26 +299,26 @@ interactions: type: fact - id: campaign_channels type: dataset - - - id: price - type: fact - - id: order_lines - type: dataset - - id: price type: fact - id: order_amount type: metric - - id: price type: fact - - id: revenue_and_quantity_by_product_and_category - type: visualizationObject - - - id: quantity - type: fact - id: order_lines type: dataset + - - id: price + type: fact + - id: revenue_and_quantity_by_product_and_category + type: visualizationObject - - id: quantity type: fact - id: order_amount type: metric + - - id: quantity + type: fact + - id: order_lines + type: dataset - - id: quantity type: fact - id: revenue_and_quantity_by_product_and_category @@ -367,6 +367,10 @@ interactions: type: label - id: customer_id type: attribute + - - id: customer_name + type: label + - id: top_10_customers + type: visualizationObject - - id: customer_name type: label - id: customer_name @@ -379,10 +383,6 @@ interactions: type: label - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - - id: customer_name - type: label - - id: top_10_customers - type: visualizationObject - - id: date.day type: label - id: date.day @@ -415,22 +415,22 @@ interactions: type: label - id: date.minuteOfHour type: attribute + - - id: date.month + type: label + - id: customers_trend + type: visualizationObject - - id: date.month type: label - id: revenue_by_category_trend type: visualizationObject - - id: date.month type: label - - id: customers_trend + - id: percentage_of_customers_by_region type: visualizationObject - - id: date.month type: label - id: date.month type: attribute - - - id: date.month - type: label - - id: percentage_of_customers_by_region - type: visualizationObject - - id: date.month type: label - id: revenue_trend @@ -471,10 +471,6 @@ interactions: type: label - id: order_line_id type: attribute - - - id: order_status - type: label - - id: amount_of_valid_orders - type: metric - - id: order_status type: label - id: revenue @@ -483,6 +479,10 @@ interactions: type: label - id: order_status type: attribute + - - id: order_status + type: label + - id: amount_of_valid_orders + type: metric - - id: product_id type: label - id: product_id @@ -493,27 +493,27 @@ interactions: type: attribute - - id: product_name type: label - - id: product_saleability + - id: product_categories_pie_chart type: visualizationObject - - id: product_name type: label - - id: revenue_by_product + - id: product_saleability type: visualizationObject - - id: product_name type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: product_breakdown type: visualizationObject - - id: product_name type: label - - id: revenue_and_quantity_by_product_and_category + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: product_name type: label - - id: product_breakdown + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: product_name type: label - - id: product_categories_pie_chart + - id: revenue_by_product type: visualizationObject - - id: product_name type: label @@ -523,37 +523,37 @@ interactions: type: label - id: product_revenue_comparison-over_previous_period type: visualizationObject + - - id: products.category + type: label + - id: product_categories_pie_chart + type: visualizationObject - - id: products.category type: label - id: revenue-home type: metric - - id: products.category type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: product_breakdown type: visualizationObject - - id: products.category type: label - - id: products.category - type: attribute + - id: revenue_by_category_trend + type: visualizationObject - - id: products.category type: label - - id: revenue_and_quantity_by_product_and_category + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: products.category type: label - - id: revenue-clothing + - id: revenue-electronic type: metric - - id: products.category type: label - - id: product_breakdown - type: visualizationObject - - - id: products.category - type: label - - id: revenue_by_category_trend - type: visualizationObject + - id: revenue-outdoor + type: metric - - id: products.category type: label - - id: product_categories_pie_chart + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: products.category type: label @@ -561,20 +561,16 @@ interactions: type: visualizationObject - - id: products.category type: label - - id: revenue-electronic - type: metric - - - id: products.category - type: label - - id: revenue-outdoor + - id: revenue-clothing type: metric - - id: products.category type: label - id: product_revenue_comparison-over_previous_period type: visualizationObject - - - id: region + - - id: products.category type: label - - id: region_filter - type: filterContext + - id: products.category + type: attribute - - id: region type: label - id: region @@ -583,6 +579,10 @@ interactions: type: label - id: percentage_of_customers_by_region type: visualizationObject + - - id: region + type: label + - id: region_filter + type: filterContext - - id: state type: label - id: state @@ -599,14 +599,14 @@ interactions: type: label - id: campaign_spend type: visualizationObject - - - id: amount_of_active_customers - type: metric - - id: amount_of_top_customers - type: metric - - id: amount_of_active_customers type: metric - id: customers_trend type: visualizationObject + - - id: amount_of_active_customers + type: metric + - id: amount_of_top_customers + type: metric - - id: amount_of_active_customers type: metric - id: percentage_of_customers_by_region @@ -653,103 +653,103 @@ interactions: type: metric - - id: revenue type: metric - - id: product_saleability - type: visualizationObject + - id: amount_of_top_customers + type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_percent_customers + - id: percent_revenue type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_customers + - id: revenue_top_10_percent type: metric - - id: revenue type: metric - - id: revenue-clothing + - id: percent_revenue_per_product_by_customer_and_category + type: visualizationObject + - - id: revenue + type: metric + - id: revenue_per_customer type: metric - - id: revenue type: metric - - id: product_breakdown + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: revenue type: metric - - id: revenue_by_category_trend + - id: revenue_by_product type: visualizationObject - - id: revenue type: metric - - id: total_revenue - type: metric + - id: revenue_trend + type: visualizationObject - - id: revenue type: metric - - id: percent_revenue + - id: percent_revenue_from_top_10_percent_customers type: metric + - - id: revenue + type: metric + - id: product_revenue_comparison-over_previous_period + type: visualizationObject - - id: revenue type: metric - id: percent_revenue_from_top_10_percent_products type: metric - - id: revenue type: metric - - id: revenue-electronic + - id: product_categories_pie_chart + type: visualizationObject + - - id: revenue type: metric + - id: product_saleability + type: visualizationObject - - id: revenue type: metric - - id: revenue-outdoor + - id: percent_revenue_from_top_10_products type: metric - - id: revenue type: metric - - id: revenue_per_customer + - id: revenue-home type: metric - - id: revenue type: metric - - id: revenue_top_10_percent - type: metric + - id: product_breakdown + type: visualizationObject - - id: revenue type: metric - - id: product_revenue_comparison-over_previous_period + - id: revenue_by_category_trend type: visualizationObject - - id: revenue type: metric - - id: revenue-home + - id: revenue-electronic type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_products + - id: revenue-outdoor type: metric - - id: revenue type: metric - - id: revenue_by_product - type: visualizationObject + - id: total_revenue + type: metric - - id: revenue type: metric - id: revenue_top_10 type: metric - - id: revenue type: metric - - id: percent_revenue_per_product_by_customer_and_category - type: visualizationObject - - - id: revenue - type: metric - - id: revenue_per_dollar_spent + - id: percent_revenue_in_category type: metric - - id: revenue type: metric - - id: revenue_and_quantity_by_product_and_category - type: visualizationObject - - - id: revenue + - id: percent_revenue_from_top_10_customers type: metric - - id: revenue_trend - type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_in_category + - id: revenue-clothing type: metric - - id: revenue type: metric - - id: product_categories_pie_chart - type: visualizationObject - - - id: revenue - type: metric - - id: amount_of_top_customers + - id: revenue_per_dollar_spent type: metric - - id: revenue_per_customer type: metric @@ -763,14 +763,14 @@ interactions: type: metric - id: top_10_customers type: visualizationObject - - - id: revenue_top_10 - type: metric - - id: top_10_products - type: visualizationObject - - id: revenue_top_10 type: metric - id: percent_revenue_from_top_10_products type: metric + - - id: revenue_top_10 + type: metric + - id: top_10_products + type: visualizationObject - - id: revenue_top_10 type: metric - id: percent_revenue_from_top_10_customers @@ -785,11 +785,11 @@ interactions: type: metric - - id: total_revenue type: metric - - id: total_revenue-no_filters + - id: percent_revenue type: metric - - id: total_revenue type: metric - - id: percent_revenue + - id: total_revenue-no_filters type: metric - - id: campaign_spend type: visualizationObject diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml index 7e6aa26d1..8a9cd8953 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_modify_ds_and_put_declarative_ldm.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 230e84a6e2a0c181 + traceId: 855650b8ba771261 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -655,8 +655,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL + name: demo-test-ds schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds @@ -1139,8 +1139,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL + name: demo-test-ds schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml index d5c0b97ba..433b7d055 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_analytics_model.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 2a46177eb13ac3b6 + traceId: ad8402c4c7ce0e26 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -2513,7 +2513,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml index 0d16b37de..759d2c66d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_load_and_put_declarative_ldm.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a147bd28200998ef + traceId: 1cd4a0620d4f0ce9 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -724,7 +724,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml index d5ee38b8a..e3aa8463b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_analytics_model.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6cbc083fef6ec800 + traceId: 327cc6059986baaf - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml index e08178862..376e83ef7 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_put_declarative_ldm.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 77892c6346a4ade6 + traceId: a68594c03f4270a7 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml index 88ce44938..42eff361f 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_analytics_model.yaml @@ -127,7 +127,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -170,7 +170,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -320,7 +320,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -331,7 +331,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -341,7 +341,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -390,7 +390,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -399,7 +399,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -409,7 +409,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -419,7 +419,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -429,7 +429,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -438,7 +438,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -447,7 +447,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -457,7 +457,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -467,7 +467,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -477,7 +477,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -487,7 +487,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -497,7 +497,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -507,7 +507,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -517,7 +517,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -528,7 +528,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -538,7 +538,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -548,7 +548,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -558,7 +558,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -567,7 +567,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -576,7 +576,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -585,7 +585,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -594,7 +594,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -603,7 +603,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -612,7 +612,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -677,7 +677,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -753,7 +753,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -832,7 +832,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -891,7 +891,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -948,7 +948,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1001,7 +1001,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1076,7 +1076,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1133,7 +1133,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1232,7 +1232,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1288,7 +1288,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1327,7 +1327,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1383,7 +1383,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1451,7 +1451,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1508,7 +1508,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1565,7 +1565,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1720,7 +1720,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1848,7 +1848,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1891,7 +1891,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2041,7 +2041,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2052,7 +2052,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2062,7 +2062,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2111,7 +2111,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2120,7 +2120,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2130,7 +2130,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2140,7 +2140,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2150,7 +2150,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2159,7 +2159,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2168,7 +2168,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2178,7 +2178,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2188,7 +2188,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2198,7 +2198,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2208,7 +2208,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2218,7 +2218,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2228,7 +2228,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2238,7 +2238,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2249,7 +2249,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2259,7 +2259,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2269,7 +2269,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2279,7 +2279,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2288,7 +2288,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2297,7 +2297,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2306,7 +2306,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2315,7 +2315,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2324,7 +2324,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2333,7 +2333,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2398,7 +2398,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2474,7 +2474,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2553,7 +2553,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2612,7 +2612,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2669,7 +2669,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2722,7 +2722,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2797,7 +2797,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2854,7 +2854,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2953,7 +2953,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3009,7 +3009,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3048,7 +3048,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3104,7 +3104,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3172,7 +3172,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3229,7 +3229,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3286,7 +3286,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3441,6 +3441,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml index 2e713ff9c..d685837ea 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_store_declarative_ldm.yaml @@ -559,7 +559,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1119,6 +1119,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml index 573d1a6c7..8d3ee45ba 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/explicit_workspace_data_filter.yaml @@ -1356,31 +1356,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: type - type: attribute - attributes: - title: Type - description: Type - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: type - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type - meta: - origin: - originType: NATIVE - originId: demo - id: campaign_id type: attribute attributes: @@ -1481,220 +1456,206 @@ interactions: origin: originType: NATIVE originId: demo - - id: region + - id: date.day type: attribute attributes: - title: Region - description: Region + title: Date - Date + description: Date tags: - - Customers + - Date + granularity: DAY areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.day type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day meta: origin: originType: NATIVE originId: demo - - id: state + - id: date.dayOfMonth type: attribute attributes: - title: State - description: State + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Customers + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING relationships: - defaultView: - data: - id: state - type: label dataset: data: - id: customers + id: date type: dataset labels: data: - - id: state - type: label - - id: geo__state__location + - id: date.dayOfMonth type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.dayOfWeek type: attribute attributes: - title: Order id - description: Order id + title: Date - Day of Week + description: Generic Day of the Week (D1-D7) tags: - - Order lines + - Date + granularity: DAY_OF_WEEK areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.dayOfWeek type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.dayOfYear type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Order lines + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_line_id + - id: date.dayOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.hour type: attribute attributes: - title: Order status - description: Order status + title: Date - Hour + description: Hour tags: - - Order lines + - Date + granularity: HOUR areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.hour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.hourOfDay type: attribute attributes: - title: Product id - description: Product id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Products + - Date + granularity: HOUR_OF_DAY areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.hourOfDay type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.minute type: attribute attributes: - title: Product name - description: Product name + title: Date - Minute + description: Minute tags: - - Products + - Date + granularity: MINUTE areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.minute type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.minuteOfHour type: attribute attributes: - title: Category - description: Category + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Products + - Date + granularity: MINUTE_OF_HOUR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.minuteOfHour type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: date.month type: attribute attributes: - title: Date - Minute - description: Minute + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: MINUTE + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -1703,22 +1664,22 @@ interactions: type: dataset labels: data: - - id: date.minute + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: date.monthOfYear type: attribute attributes: - title: Date - Hour - description: Hour + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - Date - granularity: HOUR + granularity: MONTH_OF_YEAR areRelationsValid: true relationships: dataset: @@ -1727,22 +1688,22 @@ interactions: type: dataset labels: data: - - id: date.hour + - id: date.monthOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: date.quarter type: attribute attributes: - title: Date - Date - description: Date + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - Date - granularity: DAY + granularity: QUARTER areRelationsValid: true relationships: dataset: @@ -1751,22 +1712,22 @@ interactions: type: dataset labels: data: - - id: date.day + - id: date.quarter type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: date.quarterOfYear type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - Date - granularity: WEEK + granularity: QUARTER_OF_YEAR areRelationsValid: true relationships: dataset: @@ -1775,22 +1736,22 @@ interactions: type: dataset labels: data: - - id: date.week + - id: date.quarterOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: date.week type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - Date - granularity: MONTH + granularity: WEEK areRelationsValid: true relationships: dataset: @@ -1799,22 +1760,22 @@ interactions: type: dataset labels: data: - - id: date.month + - id: date.week type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week meta: origin: originType: NATIVE originId: demo - - id: date.quarter + - id: date.weekOfYear type: attribute attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - Date - granularity: QUARTER + granularity: WEEK_OF_YEAR areRelationsValid: true relationships: dataset: @@ -1823,10 +1784,10 @@ interactions: type: dataset labels: data: - - id: date.quarter + - id: date.weekOfYear type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear meta: origin: originType: NATIVE @@ -1855,194 +1816,233 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.minuteOfHour + - id: order_id type: attribute attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) + title: Order id + description: Order id tags: - - Date - granularity: MINUTE_OF_HOUR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.minuteOfHour + - id: order_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id meta: origin: originType: NATIVE originId: demo - - id: date.hourOfDay + - id: order_line_id type: attribute attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) + title: Order line id + description: Order line id tags: - - Date - granularity: HOUR_OF_DAY + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.hourOfDay + - id: order_line_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfWeek + - id: order_status type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Order status + description: Order status tags: - - Date - granularity: DAY_OF_WEEK + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfWeek + - id: order_status type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: product_id type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: Product id + description: Product id tags: - - Date - granularity: DAY_OF_MONTH + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfMonth + - id: product_id type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: product_name + type: attribute + attributes: + title: Product name + description: Product name + tags: + - Products + areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING + relationships: + dataset: + data: + id: products + type: dataset + labels: + data: + - id: product_name + type: label + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name + meta: + origin: + originType: NATIVE + originId: demo + - id: products.category type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Category + description: Category tags: - - Date - granularity: DAY_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.dayOfYear + - id: products.category type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: region type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Region + description: Region tags: - - Date - granularity: WEEK_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.weekOfYear + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: geo__state__location + type: label + - id: state type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: type type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Type + description: Type tags: - - Date - granularity: QUARTER_OF_YEAR + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.quarterOfYear + - id: type type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/type meta: origin: originType: NATIVE @@ -2107,6 +2107,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -2120,14 +2132,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2143,18 +2155,6 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo @@ -2708,12 +2708,12 @@ interactions: relationships: attributes: data: + - id: type + type: attribute - id: campaign_channel_id type: attribute - id: campaign_channels.category type: attribute - - id: type - type: attribute facts: data: - id: spend @@ -2782,18 +2782,66 @@ interactions: data: - id: customer_name type: attribute + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE originId: demo + - id: date + type: dataset + attributes: + title: Date + description: '' + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.quarterOfYear + type: attribute + - id: date.week + type: attribute + - id: date.quarter + type: attribute + - id: date.monthOfYear + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour + type: attribute + - id: date.hour + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.dayOfMonth + type: attribute + - id: date.weekOfYear + type: attribute + - id: date.year + type: attribute + - id: date.dayOfWeek + type: attribute + - id: date.dayOfYear + type: attribute + - id: date.minute + type: attribute + - id: date.month + type: attribute + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + meta: + origin: + originType: NATIVE + originId: demo - id: order_lines type: dataset attributes: @@ -2805,6 +2853,18 @@ interactions: - id: order_line_id type: attribute referenceProperties: + - identifier: + id: campaigns + type: dataset + multivalue: false + sources: + - column: campaign_id + dataType: INT + target: + id: campaign_id + type: attribute + sourceColumns: null + sourceColumnDataTypes: null - identifier: id: date type: dataset @@ -2818,14 +2878,14 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: campaigns + id: customers type: dataset multivalue: false sources: - - column: campaign_id + - column: customer_id dataType: INT target: - id: campaign_id + id: customer_id type: attribute sourceColumns: null sourceColumnDataTypes: null @@ -2841,49 +2901,37 @@ interactions: type: attribute sourceColumns: null sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null dataSourceTableId: demo-test-ds:order_lines dataSourceTablePath: - demo - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__state - dataType: STRING - name: wdf__region dataType: STRING + - name: wdf__state + dataType: STRING workspaceDataFilterReferences: - filterId: - id: wdf__state + id: wdf__region type: workspaceDataFilter - filterColumn: wdf__state + filterColumn: wdf__region filterColumnDataType: STRING - filterId: - id: wdf__region + id: wdf__state type: workspaceDataFilter - filterColumn: wdf__region + filterColumn: wdf__state filterColumnDataType: STRING type: NORMAL relationships: attributes: data: - - id: order_line_id - type: attribute - id: order_id type: attribute - id: order_status type: attribute + - id: order_line_id + type: attribute facts: data: - id: quantity @@ -2915,10 +2963,10 @@ interactions: relationships: attributes: data: - - id: product_id - type: attribute - id: products.category type: attribute + - id: product_id + type: attribute - id: product_name type: attribute links: @@ -2927,54 +2975,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - areRelationsValid: true - type: DATE - relationships: - attributes: - data: - - id: date.minute - type: attribute - - id: date.monthOfYear - type: attribute - - id: date.week - type: attribute - - id: date.dayOfWeek - type: attribute - - id: date.dayOfMonth - type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.month - type: attribute - - id: date.quarter - type: attribute - - id: date.quarterOfYear - type: attribute - - id: date.day - type: attribute - - id: date.hour - type: attribute - - id: date.hourOfDay - type: attribute - - id: date.minuteOfHour - type: attribute - - id: date.year - type: attribute - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - meta: - origin: - originType: NATIVE - originId: demo included: - id: product_id type: attribute @@ -3417,7 +3417,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -3432,7 +3432,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3447,7 +3447,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -3464,7 +3464,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -3480,7 +3480,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -3495,7 +3495,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -3510,7 +3510,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -3525,7 +3525,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -3541,7 +3541,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3557,7 +3557,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3573,7 +3573,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -3589,7 +3589,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -3605,7 +3605,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -3622,7 +3622,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -3638,7 +3638,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3654,7 +3654,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3670,7 +3670,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3686,7 +3686,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3702,7 +3702,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -3717,7 +3717,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -3732,7 +3732,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -3747,7 +3747,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -3762,7 +3762,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -3777,7 +3777,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml index d3a5e751b..f363a3f7a 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 5fe79768443fad05 + traceId: bfd596f99b5a08cb - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml index 38f83066c..b25b33cfb 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 640974932d94dca4 + traceId: 186ae0da0c6424ae - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml index 3fddf1e7e..758d9e959 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 96ee6c99555872ff + traceId: 8c001452ff41c38c - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,8 +173,8 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL + name: Test2 schema: demo links: self: http://localhost:3000/api/v1/entities/dataSources/demo-bigquery-ds @@ -303,7 +303,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -346,7 +346,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -496,7 +496,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -507,7 +507,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -517,7 +517,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -566,7 +566,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -575,7 +575,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -585,7 +585,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -595,7 +595,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -605,7 +605,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -614,7 +614,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -623,7 +623,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -633,7 +633,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -643,7 +643,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -653,7 +653,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -663,7 +663,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -673,7 +673,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -683,7 +683,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -693,7 +693,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -704,7 +704,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -714,7 +714,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -724,7 +724,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -734,7 +734,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -743,7 +743,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -752,7 +752,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -761,7 +761,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -770,7 +770,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -779,7 +779,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -788,7 +788,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -853,7 +853,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -929,7 +929,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1008,7 +1008,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1067,7 +1067,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1124,7 +1124,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1177,7 +1177,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1252,7 +1252,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1309,7 +1309,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1408,7 +1408,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1464,7 +1464,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1503,7 +1503,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1559,7 +1559,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1627,7 +1627,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1684,7 +1684,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1741,7 +1741,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2237,7 +2237,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 88e0a37a50e4a98b + traceId: a1b870b73a89a4ce - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_clone?include=workspaces @@ -2315,7 +2315,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: d609f0b9f72a14c8 + traceId: 8c8a8b6b61d73cbc - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -3001,7 +3001,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3043,7 +3043,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3194,7 +3194,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3206,7 +3206,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3216,7 +3216,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3264,7 +3264,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3273,7 +3273,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3283,7 +3283,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3294,7 +3294,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3303,7 +3303,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3312,7 +3312,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3321,7 +3321,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3331,7 +3331,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3341,7 +3341,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3351,7 +3351,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3361,7 +3361,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3371,7 +3371,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3380,7 +3380,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3391,7 +3391,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3400,7 +3400,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3410,7 +3410,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3419,7 +3419,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3428,7 +3428,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3437,7 +3437,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3446,7 +3446,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3455,7 +3455,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3464,7 +3464,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3473,7 +3473,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3482,7 +3482,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3547,7 +3547,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3623,7 +3623,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3702,7 +3702,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3761,7 +3761,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3818,7 +3818,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3871,7 +3871,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3946,7 +3946,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4003,7 +4003,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4102,7 +4102,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4158,7 +4158,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4197,7 +4197,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4253,7 +4253,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4321,7 +4321,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4378,7 +4378,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4435,7 +4435,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4889,7 +4889,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4932,7 +4932,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5082,7 +5082,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5093,7 +5093,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5103,7 +5103,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5152,7 +5152,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5161,7 +5161,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5171,7 +5171,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5181,7 +5181,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5191,7 +5191,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5200,7 +5200,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5209,7 +5209,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5219,7 +5219,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5229,7 +5229,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5239,7 +5239,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5249,7 +5249,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5259,7 +5259,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5269,7 +5269,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5279,7 +5279,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5290,7 +5290,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5300,7 +5300,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5310,7 +5310,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5320,7 +5320,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5329,7 +5329,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5338,7 +5338,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5347,7 +5347,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5356,7 +5356,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5365,7 +5365,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5374,7 +5374,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5439,7 +5439,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5515,7 +5515,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5594,7 +5594,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5653,7 +5653,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5710,7 +5710,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5763,7 +5763,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5838,7 +5838,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5895,7 +5895,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5994,7 +5994,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6050,7 +6050,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6089,7 +6089,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6145,7 +6145,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6213,7 +6213,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6270,7 +6270,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6327,7 +6327,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6791,7 +6791,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6834,7 +6834,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6984,7 +6984,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6995,7 +6995,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7005,7 +7005,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7054,7 +7054,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7063,7 +7063,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7073,7 +7073,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7083,7 +7083,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7093,7 +7093,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7102,7 +7102,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7111,7 +7111,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7121,7 +7121,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7131,7 +7131,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7141,7 +7141,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7151,7 +7151,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7161,7 +7161,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7171,7 +7171,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7181,7 +7181,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7192,7 +7192,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7202,7 +7202,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7212,7 +7212,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7222,7 +7222,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7231,7 +7231,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7240,7 +7240,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7249,7 +7249,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7258,7 +7258,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7267,7 +7267,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7276,7 +7276,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7341,7 +7341,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7417,7 +7417,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7496,7 +7496,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7555,7 +7555,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7612,7 +7612,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7665,7 +7665,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7740,7 +7740,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7797,7 +7797,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7896,7 +7896,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7952,7 +7952,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -7991,7 +7991,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -8047,7 +8047,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -8115,7 +8115,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -8172,7 +8172,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -8229,7 +8229,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -8725,7 +8725,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 10b1fa8b37e89e8b + traceId: 9bfe900e7b3d7633 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_jacek?include=workspaces @@ -8803,7 +8803,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: d7000ba39ac6244d + traceId: d5ecc372a226cfb1 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -9503,7 +9503,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9545,7 +9545,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9696,7 +9696,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9708,7 +9708,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9718,7 +9718,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9766,7 +9766,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9775,7 +9775,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9785,7 +9785,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9796,7 +9796,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9805,7 +9805,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9814,7 +9814,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9823,7 +9823,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9833,7 +9833,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9843,7 +9843,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9853,7 +9853,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9863,7 +9863,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9873,7 +9873,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9882,7 +9882,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9893,7 +9893,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9902,7 +9902,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9912,7 +9912,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9921,7 +9921,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9930,7 +9930,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9939,7 +9939,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9948,7 +9948,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9957,7 +9957,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9966,7 +9966,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9975,7 +9975,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -9984,7 +9984,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10049,7 +10049,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10125,7 +10125,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10204,7 +10204,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10263,7 +10263,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10320,7 +10320,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10373,7 +10373,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10448,7 +10448,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10505,7 +10505,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10604,7 +10604,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10660,7 +10660,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10699,7 +10699,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10755,7 +10755,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10823,7 +10823,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10880,7 +10880,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -10937,7 +10937,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11577,7 +11577,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11620,7 +11620,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11770,7 +11770,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11781,7 +11781,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11791,7 +11791,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11840,7 +11840,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11849,7 +11849,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11859,7 +11859,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11869,7 +11869,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11879,7 +11879,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11888,7 +11888,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11897,7 +11897,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11907,7 +11907,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11917,7 +11917,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11927,7 +11927,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11937,7 +11937,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11947,7 +11947,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11957,7 +11957,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11967,7 +11967,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11978,7 +11978,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11988,7 +11988,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -11998,7 +11998,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12008,7 +12008,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12017,7 +12017,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12026,7 +12026,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12035,7 +12035,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12044,7 +12044,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12053,7 +12053,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12062,7 +12062,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12127,7 +12127,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12203,7 +12203,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12282,7 +12282,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12341,7 +12341,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12398,7 +12398,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12451,7 +12451,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12526,7 +12526,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12583,7 +12583,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12682,7 +12682,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12738,7 +12738,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12777,7 +12777,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12833,7 +12833,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12901,7 +12901,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -12958,7 +12958,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -13015,7 +13015,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -13588,23 +13588,24 @@ interactions: body: string: data: - - id: demo_west_california - type: workspace - attributes: - name: Demo West California - relationships: - parent: - data: - id: demo_west - type: workspace - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california - id: demo type: workspace attributes: name: Demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo + - id: demo_clone + type: workspace + attributes: + name: Demo (Clone) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo_clone + - id: demo_jacek + type: workspace + attributes: + name: Deno Jacek + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo_jacek - id: demo_west type: workspace attributes: @@ -13616,18 +13617,17 @@ interactions: type: workspace links: self: http://localhost:3000/api/v1/entities/workspaces/demo_west - - id: demo_clone - type: workspace - attributes: - name: Demo (Clone) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_clone - - id: demo_jacek + - id: demo_west_california type: workspace attributes: - name: Deno Jacek + name: Demo West California + relationships: + parent: + data: + id: demo_west + type: workspace links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_jacek + self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california included: - id: demo type: workspace @@ -13788,7 +13788,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 793aede80f49d797 + traceId: 662e4cccaebb448b - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -14488,7 +14488,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14530,7 +14530,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14681,7 +14681,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14693,7 +14693,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14703,7 +14703,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14751,7 +14751,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14760,7 +14760,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14770,7 +14770,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14781,7 +14781,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14790,7 +14790,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14799,7 +14799,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14808,7 +14808,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14818,7 +14818,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14828,7 +14828,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14838,7 +14838,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14848,7 +14848,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14858,7 +14858,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14867,7 +14867,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14878,7 +14878,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14887,7 +14887,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14897,7 +14897,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14906,7 +14906,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14915,7 +14915,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14924,7 +14924,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14933,7 +14933,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14942,7 +14942,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14951,7 +14951,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14960,7 +14960,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -14969,7 +14969,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15034,7 +15034,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15110,7 +15110,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15189,7 +15189,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15248,7 +15248,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15305,7 +15305,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15358,7 +15358,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15433,7 +15433,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15490,7 +15490,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15589,7 +15589,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15645,7 +15645,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15684,7 +15684,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15740,7 +15740,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15808,7 +15808,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15865,7 +15865,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -15922,7 +15922,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml index 0864ff3b7..85c821ac3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml @@ -197,7 +197,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 7ef6808a9230ab8d + traceId: fd32754265375349 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml index 6b1ed38c0..fff418488 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_user_data_filters.yaml @@ -373,7 +373,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml index ecd1e7b65..50c3d0997 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace.yaml @@ -2031,7 +2031,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml index cfb8bde62..da4ff5057 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspace_data_filters.yaml @@ -401,7 +401,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml index 21b13bc26..639b63925 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_load_and_put_declarative_workspaces.yaml @@ -299,7 +299,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml index fd2b478ae..c3bb076ab 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_put_declarative_workspace.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: b6cbb71d076baa57 + traceId: 4509d31802a44ec2 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml index f6954c5c2..3ec335ec9 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_user_data_filters.yaml @@ -303,7 +303,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -455,6 +455,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml index 485857039..9d56a9707 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace.yaml @@ -1877,7 +1877,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -3755,6 +3755,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml index f77ba4585..a4f594d22 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspace_data_filters.yaml @@ -359,7 +359,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -511,6 +511,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml index 8e373bf06..fd944f530 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_store_declarative_workspaces.yaml @@ -169,7 +169,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -212,7 +212,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -363,7 +363,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -374,7 +374,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -384,7 +384,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -433,7 +433,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -442,7 +442,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -452,7 +452,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -462,7 +462,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -472,7 +472,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -481,7 +481,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -490,7 +490,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -500,7 +500,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -510,7 +510,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -520,7 +520,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -530,7 +530,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -540,7 +540,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -550,7 +550,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -560,7 +560,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -571,7 +571,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -581,7 +581,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -591,7 +591,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -601,7 +601,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -610,7 +610,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -619,7 +619,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -628,7 +628,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -637,7 +637,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -646,7 +646,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -655,7 +655,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -720,7 +720,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -796,7 +796,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -875,7 +875,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -934,7 +934,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -991,7 +991,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1044,7 +1044,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1119,7 +1119,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1176,7 +1176,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1275,7 +1275,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1331,7 +1331,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1370,7 +1370,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1426,7 +1426,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1494,7 +1494,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1551,7 +1551,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1608,7 +1608,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2181,7 +2181,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2224,7 +2224,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2375,7 +2375,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2386,7 +2386,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2396,7 +2396,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2445,7 +2445,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2454,7 +2454,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2464,7 +2464,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2474,7 +2474,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2484,7 +2484,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2493,7 +2493,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2502,7 +2502,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2512,7 +2512,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2522,7 +2522,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2532,7 +2532,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2542,7 +2542,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2552,7 +2552,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2562,7 +2562,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2572,7 +2572,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2583,7 +2583,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2593,7 +2593,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2603,7 +2603,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2613,7 +2613,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2622,7 +2622,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2631,7 +2631,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2640,7 +2640,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2649,7 +2649,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2658,7 +2658,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2667,7 +2667,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2732,7 +2732,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2808,7 +2808,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2887,7 +2887,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2946,7 +2946,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3003,7 +3003,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3056,7 +3056,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3131,7 +3131,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3188,7 +3188,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3287,7 +3287,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3343,7 +3343,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3382,7 +3382,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3438,7 +3438,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3506,7 +3506,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3563,7 +3563,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3620,7 +3620,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4175,7 +4175,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -4327,6 +4327,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml index 86ce01b4e..7b068599a 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml @@ -207,7 +207,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -250,7 +250,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -400,7 +400,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -411,7 +411,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -421,7 +421,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -470,7 +470,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -479,7 +479,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -489,7 +489,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -499,7 +499,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -509,7 +509,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -518,7 +518,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -527,7 +527,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -537,7 +537,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -547,7 +547,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -557,7 +557,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -567,7 +567,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -577,7 +577,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -587,7 +587,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -597,7 +597,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -608,7 +608,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -618,7 +618,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -628,7 +628,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -638,7 +638,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -647,7 +647,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -656,7 +656,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -665,7 +665,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -674,7 +674,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -683,7 +683,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -692,7 +692,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -757,7 +757,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -833,7 +833,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -912,7 +912,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -971,7 +971,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1028,7 +1028,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1081,7 +1081,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1156,7 +1156,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1213,7 +1213,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1312,7 +1312,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1368,7 +1368,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1407,7 +1407,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1463,7 +1463,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1531,7 +1531,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1588,7 +1588,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -1645,7 +1645,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2133,7 +2133,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 58c395d3-ddbb-4cd4-aa60-1f9e79c615e4 + oauthClientId: b0242aeb-fd5b-4e11-859c-f3d35f2522ec links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -2341,7 +2341,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2384,7 +2384,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2534,7 +2534,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2545,7 +2545,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2555,7 +2555,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2604,7 +2604,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2613,7 +2613,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2623,7 +2623,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2633,7 +2633,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2643,7 +2643,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2652,7 +2652,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2661,7 +2661,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2671,7 +2671,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2681,7 +2681,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2691,7 +2691,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2701,7 +2701,7 @@ interactions: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2711,7 +2711,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2721,7 +2721,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2731,7 +2731,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2742,7 +2742,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2752,7 +2752,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2762,7 +2762,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2772,7 +2772,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2781,7 +2781,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2790,7 +2790,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2799,7 +2799,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2808,7 +2808,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2817,7 +2817,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2826,7 +2826,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2891,7 +2891,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -2967,7 +2967,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3046,7 +3046,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3105,7 +3105,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3162,7 +3162,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3215,7 +3215,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3290,7 +3290,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3347,7 +3347,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3446,7 +3446,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3502,7 +3502,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3541,7 +3541,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3597,7 +3597,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3665,7 +3665,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3722,7 +3722,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -3779,7 +3779,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4195,7 +4195,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 34e30c8b1edba7de + traceId: 1de4a6ec680a3bac - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -4881,7 +4881,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -4923,7 +4923,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5074,7 +5074,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5086,7 +5086,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5096,7 +5096,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5144,7 +5144,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5153,7 +5153,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5163,7 +5163,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5174,7 +5174,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5183,7 +5183,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5192,7 +5192,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5201,7 +5201,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5211,7 +5211,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_customers title: '% Revenue from Top 10 Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5221,7 +5221,7 @@ interactions: \ BY {attribute/customer_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_customers title: '% Revenue from Top 10% Customers' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5231,7 +5231,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_percent_products title: '% Revenue from Top 10% Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5241,7 +5241,7 @@ interactions: \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" id: percent_revenue_from_top_10_products title: '% Revenue from Top 10 Products' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5251,7 +5251,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5260,7 +5260,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5271,7 +5271,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5280,7 +5280,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5290,7 +5290,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5299,7 +5299,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5308,7 +5308,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5317,7 +5317,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5326,7 +5326,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5335,7 +5335,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5344,7 +5344,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5353,7 +5353,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5362,7 +5362,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5427,7 +5427,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5503,7 +5503,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5582,7 +5582,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5641,7 +5641,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5698,7 +5698,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5751,7 +5751,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5826,7 +5826,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5883,7 +5883,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -5982,7 +5982,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6038,7 +6038,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6077,7 +6077,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6133,7 +6133,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6201,7 +6201,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6258,7 +6258,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6315,7 +6315,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-11-29 11:58 + createdAt: 2023-12-14 14:18 createdBy: id: admin type: user @@ -6595,7 +6595,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 209a32fed1eae940 + traceId: a60346820044bbbd - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings @@ -6768,7 +6768,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c715ab4428473e18 + traceId: 4910cad701c55ac9 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml index 42e618aeb..854dcf539 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_update_workspace_valid.yaml @@ -476,28 +476,28 @@ interactions: name: Demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo - - id: demo_west_california + - id: demo_west type: workspace attributes: - name: Demo West California + name: Test relationships: parent: data: - id: demo_west + id: demo type: workspace links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california - - id: demo_west + self: http://localhost:3000/api/v1/entities/workspaces/demo_west + - id: demo_west_california type: workspace attributes: - name: Test + name: Demo West California relationships: parent: data: - id: demo + id: demo_west type: workspace links: - self: http://localhost:3000/api/v1/entities/workspaces/demo_west + self: http://localhost:3000/api/v1/entities/workspaces/demo_west_california included: - id: demo type: workspace diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml index 193e3e373..88658ac8d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 0160cd277c5ad981 + traceId: 64b97662ee96cd13 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings @@ -252,7 +252,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6e5f8125868586ca + traceId: c4729c8d91c85e11 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml index a8b069a21..edce6e7c0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 581d8379581070d2 + traceId: c112dda78b29e462 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/workspaceSettings diff --git a/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml index a86bb4362..2b0d0e4cd 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml @@ -156,7 +156,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 2830cefb1979be2a + traceId: a3ecda4dd701dba8 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/userDataFilters @@ -367,7 +367,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/workspaces/demo/users/demo links: @@ -470,7 +470,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRmM2ViMjJjYi03OTkzLTRlNzEtOTVjYS0yNTIxYTVmYjU3MTESBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/workspaces/demo/users/demo - id: order_status diff --git a/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml b/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml index fcf8558d3..da4ce0976 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml @@ -161,12 +161,12 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5c52bece69d376ed76bcbfa031f81493649d6c46 + executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 5c52bece69d376ed76bcbfa031f81493649d6c46 + executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 fileName: test_csv format: CSV customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 52ce53f757822acefd3ff11008d9aad3796300e4 + exportResult: 02ac014532bf4f09b6ea59d80e5556ce06e7e37f - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/52ce53f757822acefd3ff11008d9aad3796300e4 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/02ac014532bf4f09b6ea59d80e5556ce06e7e37f body: null headers: Accept: @@ -325,7 +325,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/52ce53f757822acefd3ff11008d9aad3796300e4 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/02ac014532bf4f09b6ea59d80e5556ce06e7e37f body: null headers: Accept: diff --git a/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml b/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml index d5b048f0b..0ebf173e3 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_csv_by_insight_id.yaml @@ -151,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:59 + createdAt: 2023-12-14 14:18 relationships: createdBy: data: @@ -195,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-11-29 11:59 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -205,7 +205,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-11-29 11:59 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -375,10 +375,10 @@ interactions: name: Revenue per Customer localIdentifier: dim_1 links: - executionResult: 869678542fe46ee9682112428b3ac6ed61ad216d + executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/869678542fe46ee9682112428b3ac6ed61ad216d?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7f4db3b690da6facea27a3c1769e4f681e19a450?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -448,12 +448,10 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1414' + - '1422' body: string: data: - - - 88 - - 178.174875 - - 65 - 174.79036363636362 - - 61 @@ -476,12 +474,11 @@ interactions: - 154.40761904761905 - - 59 - 307.9370909090909 + - - 63 + - 252.81866666666667 dimensionHeaders: - headerGroups: - headers: - - attributeHeader: - labelValue: 2022-12 - primaryLabelValue: 2022-12 - attributeHeader: labelValue: 2023-01 primaryLabelValue: 2023-01 @@ -515,6 +512,9 @@ interactions: - attributeHeader: labelValue: 2023-11 primaryLabelValue: 2023-11 + - attributeHeader: + labelValue: 2023-12 + primaryLabelValue: 2023-12 - headerGroups: - headers: - measureHeader: @@ -536,7 +536,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 869678542fe46ee9682112428b3ac6ed61ad216d + executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 fileName: Customers Trend format: CSV customOverride: @@ -621,10 +621,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 7009987d734f1d0faa5378a0ae1623e379901954 + exportResult: d64932885fe4b54f790c79dd8cf2b51374af54e9 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/7009987d734f1d0faa5378a0ae1623e379901954 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d64932885fe4b54f790c79dd8cf2b51374af54e9 body: null headers: Accept: @@ -695,7 +695,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/7009987d734f1d0faa5378a0ae1623e379901954 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d64932885fe4b54f790c79dd8cf2b51374af54e9 body: null headers: Accept: @@ -724,7 +724,7 @@ interactions: Content-Disposition: - attachment; filename*=UTF-8''Customers%20Trend.csv Content-Length: - - '431' + - '439' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -771,8 +771,6 @@ interactions: body: string: '"date.month","amount_of_active_customers","revenue_per_customer" - "2022-12",88,178.174875 - "2023-01",65,174.79036363636362 "2023-02",61,150.10735849056604 @@ -795,4 +793,6 @@ interactions: "2023-11",59,307.9370909090909 + "2023-12",63,252.81866666666667 + ' diff --git a/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml b/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml index 650f7b5a2..676a50fd3 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml @@ -161,12 +161,12 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5c52bece69d376ed76bcbfa031f81493649d6c46 + executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 5c52bece69d376ed76bcbfa031f81493649d6c46 + executionResult: e9c4d609575de7c0072b1ff75cce5c2cdeb64929 fileName: test_xlsx format: XLSX customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: fb6b244792591c9ea5347ca0eb134f147cc0ed81 + exportResult: d37cdfa445e3c8ef82374bb20e69adf611f4d316 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/fb6b244792591c9ea5347ca0eb134f147cc0ed81 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d37cdfa445e3c8ef82374bb20e69adf611f4d316 body: null headers: Accept: @@ -325,7 +325,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/fb6b244792591c9ea5347ca0eb134f147cc0ed81 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/d37cdfa445e3c8ef82374bb20e69adf611f4d316 body: null headers: Accept: @@ -508,13 +508,13 @@ interactions: BzREgkKnU5EgZF+Vdr6GmVPXn68zRmWfmasr0+J3SI4IG2TV28zst1A06yalI3Lc6aDZpuoahv3/ 8OTjrph8zh4PFoLc88wirtb0tUfBxtupcM5Hbd1scd1b+1GbwuEDZV/QuKnw2WK+HfADiD6aT5QI EvFSqyy/+eYQdG5pxmWs/tkxahGC1op4X+TwqTm7scLZZ4t7c2d7Bl97Z7vaXi5RWzvI5KulP574 - 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwAFFstWJQEAAFACAAARAAAA - ZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LcumpRG2A23JqYFCU1pyE9LGEbV+kNQ6efsq - TuIk4FOPq5n9dnZRNd+pLvkF56XRNSJZjhLQ3Aip2xp9rBbpI0p8YFqwzmio0R48mjd3FbeUGwdv - zlhwQYJPIkh7ym2NtiFYirHnW1DMZ9Gho7gxTrEQS9diy/g3awEXef6AFQQmWGD4AEztSEQnpOAj - 0v64bgAIjqEDBTp4TDKCL94ATvnJhkG5cioZ9hYmrWdxdO+8HI1932d9OVhjfoK/lq/vw6qp1IdT - cUBNJTjlDlgwrqnwdREP1zEflvHEGwniaR/1ibfTIsc+EEkMQI9xz8pn+fyyWqCmyIsyJSQtZitC - 6P2M5sX6MPKm/wJUpyH/Jp4Bx9y3n6D5A1BLAwQUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAGRv + 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwBJY62TJQEAAFACAAARAAAA + ZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LcsxJQjbgbbk1EChKS29CWmTiFo/SGodv30V + J3ES8CnH1cx+O7uoWuxVm/yB89LoGpEsRwloboTU2xp9rJfpHCU+MC1YazTUqAePFs1DxS3lxsGb + MxZckOCTCNKeclujXQiWYuz5DhTzWXToKG6MUyzE0m2xZfyHbQEXef6IFQQmWGD4AEztSEQnpOAj + 0v66dgAIjqEFBTp4TDKCL94ATvnJhkG5cioZeguT1rM4uvdejsau67JuNlhjfoK/Vq/vw6qp1IdT + cUBNJTjlDlgwrqnwdREP1zIfVvHEGwniqY/6xNtpkWMfiCQGoMe4Z+Vz9vyyXqKmyItZSoqUlGtS + UjKn5fz7MPKm/wJUpyF3E8+AY+7bT9D8A1BLAwQUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAGRv Y1Byb3BzL2FwcC54bWydUsFO4zAQvfMVke/UabVaocoxWpVd9bCISi1wXBln0lh1bMszRClfj5Oq IYU94dObN0/PzzMWt11jsxYiGu8KNp/lLAOnfWncvmCPuz/XNyxDUq5U1jso2BGQ3corsYk+QCQD mCUHhwWricKSc9Q1NApnqe1Sp/KxUZTKuOe+qoyGO69fG3DEF3n+k0NH4Eoor8NoyE6Oy5a+a1p6 @@ -531,6 +531,6 @@ interactions: ACwGAAAUAAAAAAAAAAAAAACAgbwMAAB4bC9zaGFyZWRTdHJpbmdzLnhtbFBLAQIUAxQAAAAIAAAA PwCCg3RkHgMAAIUTAAANAAAAAAAAAAAAAACAgf0OAAB4bC9zdHlsZXMueG1sUEsBAhQDFAAAAAgA AAA/ABj6RlSwBQAAUhsAABMAAAAAAAAAAAAAAICBRhIAAHhsL3RoZW1lL3RoZW1lMS54bWxQSwEC - FAMUAAAACAAAAD8ABRbLViUBAABQAgAAEQAAAAAAAAAAAAAAgIEnGAAAZG9jUHJvcHMvY29yZS54 + FAMUAAAACAAAAD8ASWOtkyUBAABQAgAAEQAAAAAAAAAAAAAAgIEnGAAAZG9jUHJvcHMvY29yZS54 bWxQSwECFAMUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAAAAAAAAAAAAgIF7GQAAZG9jUHJvcHMv YXBwLnhtbFBLBQYAAAAACgAKAIACAAAkGwAAAAA= diff --git a/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml b/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml index d81ee4616..9c6635df4 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_excel_by_insight_id.yaml @@ -151,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-11-29 11:59 + createdAt: 2023-12-14 14:18 relationships: createdBy: data: @@ -195,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-11-29 11:59 + createdAt: 2023-12-14 14:18 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -205,7 +205,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-11-29 11:59 + createdAt: 2023-12-14 14:18 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -375,10 +375,10 @@ interactions: name: Revenue per Customer localIdentifier: dim_1 links: - executionResult: 869678542fe46ee9682112428b3ac6ed61ad216d + executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/869678542fe46ee9682112428b3ac6ed61ad216d?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7f4db3b690da6facea27a3c1769e4f681e19a450?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -448,12 +448,10 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1414' + - '1422' body: string: data: - - - 88 - - 178.174875 - - 65 - 174.79036363636362 - - 61 @@ -476,12 +474,11 @@ interactions: - 154.40761904761905 - - 59 - 307.9370909090909 + - - 63 + - 252.81866666666667 dimensionHeaders: - headerGroups: - headers: - - attributeHeader: - labelValue: 2022-12 - primaryLabelValue: 2022-12 - attributeHeader: labelValue: 2023-01 primaryLabelValue: 2023-01 @@ -515,6 +512,9 @@ interactions: - attributeHeader: labelValue: 2023-11 primaryLabelValue: 2023-11 + - attributeHeader: + labelValue: 2023-12 + primaryLabelValue: 2023-12 - headerGroups: - headers: - measureHeader: @@ -536,7 +536,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 869678542fe46ee9682112428b3ac6ed61ad216d + executionResult: 7f4db3b690da6facea27a3c1769e4f681e19a450 fileName: Customers Trend format: XLSX customOverride: @@ -621,10 +621,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 3661d9c80c052ceef64bfe1d7b3fb6c1c7467c44 + exportResult: 4e7dc4c9aea48ac85c7fa9bb4d84e7dc9d2a3240 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/3661d9c80c052ceef64bfe1d7b3fb6c1c7467c44 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/4e7dc4c9aea48ac85c7fa9bb4d84e7dc9d2a3240 body: null headers: Accept: @@ -695,7 +695,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/3661d9c80c052ceef64bfe1d7b3fb6c1c7467c44 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/4e7dc4c9aea48ac85c7fa9bb4d84e7dc9d2a3240 body: null headers: Accept: @@ -724,7 +724,7 @@ interactions: Content-Disposition: - attachment; filename*=UTF-8''Customers%20Trend.xlsx Content-Length: - - '6156' + - '6151' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -786,95 +786,95 @@ interactions: tLZMbElot2n99xEJTR0IoQefxIzYmQe7683P0IsDJuqCV1AVJQj0JtjOtwo+d2+PzyCItbe6Dx4V jEiwqR/W79hrzjPkukgih3hS4Jjji5RkHA6aihDR558mpEFzlqmVUZu9blEuyvJJpmkG1FeZYmsV pK2tQOzGiP/JDk3TGXwN5mtAzzcq5HdIe3KInEN1apEVXCySp6cqcirI2zCLOWE4z+IfyEmezbsM - yzkZiMc+L/QCcdb36lez1jud0H5wytc2pZjavzDy6uLqI1BLAwQUAAAACAAAAD8AVtsUWO4CAAA9 - CQAAGAAAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbI2WXW+bMBSG7/crEPcDG39HSaomVbVdTJrW - fVxT4iSogCPsNt2/nzGkdY0jLUgIOOf4PLw5vLC8eW2b5EX2ulbdKoUZSBPZVWpXd4dV+uvn/Wee - JtqU3a5sVCdX6V+p05v1p+VZ9U/6KKVJ7AKdXqVHY06LPNfVUbalztRJdjayV31bGnvaH3J96mW5 - c0VtkxcA0Lwt6y4dV1j0/7OG2u/rSt6p6rmVnRkX6WVTGouvj/VJp+vlrrax4X6SXu5X6S1cbCFK - 8/XStf5dy7P2jhNTPj7IRlZG7qwAaTLc2aNST0Pwq70EhtJ8VnvvqL73yU7uy+fG/FDnL7I+HI1d - hAwllWq02ydt3bmV2/J17FDvzNEesYwwgGBB0qR61ka1f6bAVD4WFlMhei+kGS4I41cq87Gzo7wr - Tble9uqc9K61PpXDnwUXyApVDRdvh6suZskH+V7WxTJ/GZaZMjZjRuFlgI8Z2zEDeRnwLSO33d8Q - iihC4cqxV44ChDGDuBjnQfcxSMe+jGeQYc5IHABFAZBbgXkAOAAYM7iLURIAjEExAeCMCYDoZYtz - 4CgHnnEErTbYE4LCgAP7QhCQQcAQ4VgAQq9gkCgGmWHQAIN4crBwGogvBwQZRUhQXhC3j3PQKAed - cbCAg3pykGBottSXg2LLUTBKBGEYUx7nYFEONuMIRnDDPD1IMDtb5ulRYJahAr3/4hw8ysFnHCLg - 4L4e4XPCfT0gygiG9PJjcQ4R5RAzDhjMwEb4AxJMz1b4glgQzISdDoYgwtcEgSBuXmCOAkP7Ap4o - Inx2p+hlSqwnc04FwIxC+9xcgbnipHAOM/NS6AkDQ9m2U3iSBrGsIOCaInEvhcUcInRT6NupCF0E - fvBTgjMMnBhOkiu+DuO+CufGCkNnhb61EhHC+N6KAMsEYkBctgAm9955p/Igv5X9oe500si97Q8y - y9GPr2h3bNTJHVm/elTGvkUvZ0f7nSL74cx23ytlLifD2/Xty2f9D1BLAwQUAAAACAAAAD8A7236 - q08BAAAvAgAADwAAAHhsL3dvcmtib29rLnhtbI1Ry07DMBC88xWW7zQPJRGtmlSigKiEgENpzybe - NFb9iGyHtH/POlUK3Dh5Z3Z3NLNerk5Kki+wThhd0mQWUwK6NlzoQ0k/tk+3d5Q4zzRn0mgo6Rkc - XVU3y8HY46cxR4L72pW09b5bRJGrW1DMzUwHGjuNsYp5hPYQuc4C464F8EpGaRwXkWJC04vCwv5H - wzSNqOHB1L0C7S8iFiTz6N61onO0WjZCwu4SiLCue2UKbZ8kJZI5/8iFB17SDKEZ4A9h++6+FzKA - PM5pVF1DvlvCoWG99Fu0NqnjudIsTYswGaZ2Agb3sxQgOe2F5mYoaZrhZc8TSnJKhrHeC+5bJIp4 - fuWeQRxaX9J5UcRBPPqlPt5veokew617541CU2RrQXP8sNDcYJAEUy0EFnbDk1Fq2q+ZrDFWeMbB - NMuTOSVNL+UauTf9YtgoEJamSNU3UEsDBBQAAAAIAAAAPwBJ78804wAAAB0CAAAUAAAAeGwvc2hh - cmVkU3RyaW5ncy54bWx10cFqxCAQgOF7n0K8J5psd7stxj0U+gTtOUgyuxHimDqT0L59XQpLWezR - b35R0Zy+wiw2SOQjdrKptRSAQxw9Xjr58f5WHaUgdji6OSJ08htInuyDIWKRtyJ1cmJeXpSiYYLg - qI4LYJ6cYwqO8zJdFC0J3EgTAIdZtVofVHAepRjiipyP3Uuxov9c4fUG1pC3hq0LV+rjuXcD+w36 - YSWOId/YKLZGXavfMsEGuEK/QLpF983oGOoQkaf7SavbtmraAu8q3ZT5n3pX5scy78t8KPNTmY9l - fi5yo8v855Uq/6/9AVBLAwQUAAAACAAAAD8AH/Wx3gMDAAAPEQAADQAAAHhsL3N0eWxlcy54bWzN - WNFumzAUfd9XWO7rVkiaZtkEVFslpElbNandtFeDDbFmbGRMlPTrZ2MI0JGGJlkXeMC+3HvOufaN - beLdrDMGVkQWVHAfTi5dCAiPBaY89eGPh/DdAoJCIY4RE5z4cEMKeBO88Qq1YeR+SYgCGoEXPlwq - lX90nCJekgwVlyInXL9JhMyQ0l2ZOkUuCcKFCcqYM3XduZMhymHg8TILM1WAWJRcaRlbE7CPL1gb - 5zMILNytwFrKxduLCxc6gefU4YGXCN6iXENrCLziEawQ0xAT4x4LJiRQWiYxVNrCUUasxy1iNJLU - GBOUUbax5qkxVJnVfhnlQlbclqHPs2hpZBr5MAzd6upz/SQSI44GuYZhL92/gO3VB16dAnjhmvuU - wMMjPgKzepjZpYz1Z1cbAi9HShHJQ90Bdfthk2smrivWwlR+e7xTiTaT6fX4gEIwio2K9HZ44KL6 - BeWYrIkuYV3BBr2DeCRXO/uvwOWa+6Vc1UPPXSQk1qtMM3sL2JgCj5FE6XBJ06V5KpEbDqGUyHQD - U5QKjpghaCJGRIJqgfKhWtL4N2xKEJVK1BXoWL/9BPuRjFdPRSeEw52/K0d7nl6uczZKRnJ3Rm8/ - d+X2NLMdvsNJPSflpWPcwGKkNzU8XjA/SO8x1bAX8D/r/Le1MrQqHFoHdUMvaTFh7N7g/Up6J5d1 - 0jm1uObMwrdNvRjWTQtjOwa/i2axu7DuQbhgnWwJdkVPdkRP2miA8pxtQmETtL3PlWPb/8RoyjPS - jAFqumApJH3UoWZTN9MHzWlT0dj09dRUua+T3fqmrb5pV9/0eX1mEzqF2kPlXZ2HvKtW3lVX3ux1 - 5I2Z6/pcb/XOdlTj9VO9d2UWERlWnwMd3cfXaLVqdIXH2oPII7TPz1P7iCp5f/5VMju6Sk6QxUlq - ZnZ0zbxCJk69MXV2v97et7UC84XnwzsjmHWSiUrKFOUD+57GxOt2y6veKhQx0mfRGJgkqGTqYfvS - h237G8G0zD5svb7TlVC1V9v+avKczCsF7V8ZwR9QSwMEFAAAAAgAAAA/ABj6RlSwBQAAUhsAABMA - AAB4bC90aGVtZS90aGVtZTEueG1s7VlNj9tEGL7zK0a+t44TO82umq022aSF7bar3bSox4k9sacZ - e6yZyW5zQ+0RCQlREBckbhwQUKmVuJRfs1AERepf4PVHkvFmss22iwC1OSSe8fN+f/gd5+q1BzFD - R0RIypO25VyuWYgkPg9oEratO4P+pZaFpMJJgBlPSNuaEmld2/rgKt5UEYkJAvJEbuK2FSmVbtq2 - 9GEby8s8JQncG3ERYwVLEdqBwMfANmZ2vVZr2jGmiYUSHAPX26MR9QkaZCytrRnzHoOvRMlsw2fi - 0M8l6hQ5Nhg72Y+cyi4T6AiztgVyAn48IA+UhRiWCm60rVr+seytq/aciKkVtBpdP/+UdCVBMK7n - dCIczgmdvrtxZWfOv17wX8b1er1uz5nzywHY98FSZwnr9ltOZ8ZTAxWXy7y7Na/mVvEa/8YSfqPT - 6XgbFXxjgXeX8K1a092uV/DuAu8t69/Z7nabFby3wDeX8P0rG023is9BEaPJeAmdxXMemTlkxNkN - I7wF8NYsARYoW8uugj5Rq3Itxve56AMgDy5WNEFqmpIR9gHXxfFQUJwJwJsEa3eKLV8ubWWykPQF - TVXb+ijFUBELyKvnP7x6/hS9ev7k5OGzk4c/nzx6dPLwJwPhDZyEOuHL7z7/65tP0J9Pv335+Esz - Xur433789NdfvjADlQ588dWT3589efH1Z398/9gA3xZ4qMMHNCYS3SLH6IDHYJtBABmK81EMIkwr - FDgCpAHYU1EFeGuKmQnXIVXn3RXQAEzA65P7FV0PIzFR1ADcjeIKcI9z1uHCaM5uJks3Z5KEZuFi - ouMOMD4yye6eCm1vkkImUxPLbkQqau4ziDYOSUIUyu7xMSEGsnuUVvy6R33BJR8pdI+iDqZGlwzo - UJmJbtAY4jI1KQihrvhm7y7qcGZiv0OOqkgoCMxMLAmruPE6nigcGzXGMdORN7GKTEoeToVfcbhU - EOmQMI56AZHSRHNbTCvq7mLoRMaw77FpXEUKRccm5E3MuY7c4eNuhOPUqDNNIh37oRxDimK0z5VR - CV6tkGwNccDJynDfpUSdr6zv0DAyJ0h2ZyLKrl3pvzFNzmrGjEI3ft+MZ/BteDSZSuJ0C16F+x82 - 3h08SfYJ5Pr7vvu+776LfXdVLa/bbRcN1tbn4pxfvHJIHlHGDtWUkZsyb80SlA76sJkvcqL5TJ5G - cFmKq+BCgfNrJLj6mKroMMIpiHFyCaEsWYcSpVzCScBayTs/TlIwPt/zZmdAQGO1x4Niu6GfDeds - 8lUodUGNjMG6whpX3k6YUwDXlOZ4ZmnemdJszZtQDQhnB3+nWS9EQ8ZgRoLM7wWDWVguPEQywgEp - Y+QYDXEaa7qt9XqvadI2Gm8nbZ0g6eLcFeK8C4hSbSlK9nI5sqS6QseglVf3LOTjtG2NYJKCyzgF - fjJrQJiFSdvyVWnKa4v5tMHmtHRqKw2uiEiFVDtYRgVVfmv26iRZ6F/33MwPF2OAoRutp0Wj5fyL - WtinQ0tGI+KrFTuLZXmPTxQRh1FwjIZsIg4w6O0W2RVQCc+M+mwhoELdMvGqlV9WwelXNGV1YJZG - uOxJLS32BTy/nuuQrzT17BW6v6EpjQs0xXt3TckyF8bWRpAfqGAMEBhlOdq2uFARhy6URtTvCxgc - clmgF4KyyFRCLHvfnOlKjhZ9q+BRNLkwUgc0RIJCp1ORIGRflXa+hplT15+vM0Zln5mrK9Pid0iO - CBtk1dvM7LdQNOsmpSNy3Omg2abqGob9//Dk466YfM4eDxaC3PPMIq7W9LVHwcbbqXDOR23dbHHd - W/tRm8LhA2Vf0Lip8Nlivh3wA4g+mk+UCBLxUqssv/nmEHRuacZlrP7ZMWoRgtaKeF/k8Kk5u7HC - 2WeLe3NnewZfe2e72l4uUVs7yOSrpT+e+PA+yN6Bg9KEKVm8TXoAR83u7C8D4GMvSLf+BlBLAwQU - AAAACAAAAD8AiFI7TyUBAABQAgAAEQAAAGRvY1Byb3BzL2NvcmUueG1snZLNTsMwEITvPEXke+I4 - BUStJJUA9UQlJIpA3Cx721rEP7INad4eJ2nTVuqJ43pmv51duVzsVZP8gvPS6AqRLEcJaG6E1NsK - va+X6QNKfGBasMZoqFAHHi3qm5Jbyo2DV2csuCDBJxGkPeW2QrsQLMXY8x0o5rPo0FHcGKdYiKXb - Ysv4N9sCLvL8HisITLDAcA9M7UREB6TgE9L+uGYACI6hAQU6eEwygk/eAE75qw2DcuZUMnQWrlqP - 4uTeezkZ27bN2tlgjfkJ/ly9vA2rplL3p+KA6lJwyh2wYFxd4vMiHq5hPqziiTcSxGMX9Stvh0XG - PhBJDEDHuEflY/b0vF6iusiLWUpIWszXhNC7Oc1vv/qRF/0noDoM+TfxCBhzX36C+g9QSwMEFAAA - AAgAAAA/ALLAMkd+AQAAGQMAABAAAABkb2NQcm9wcy9hcHAueG1snVLBTuswELzzFZHv1GmF0FPl - GKEC4sDTq9QAZ+NsGgvHtrzbqH1fj5OqIQVO5DQ7OxpPdlfc7FubdRDReFew+SxnGTjtK+O2BXsu - Hy7/sAxJuUpZ76BgB0B2Iy/EOvoAkQxglhwcFqwhCkvOUTfQKpyltkud2sdWUSrjlvu6NhruvN61 - 4Igv8vyaw57AVVBdhtGQHR2XHf3WtPK6z4cv5SEkPyluQ7BGK0o/Kf8aHT36mrL7vQYr+LQpktEG - 9C4aOshc8GkpNlpZWCVjWSuLIPgnIR5B9TNbKxNRio6WHWjyMUPzP01twbI3hdDHKVinolGO2FF2 - LAZsA1KUrz6+YwNAKPhIDnCqnWJzJeeDIIFzIR+DJHwesTRkAf/VaxXph8TzaeIhA5tkXO2QfJuu - JitjWt+3oKcnvzyy8m1QLk2Sj+jJuHd8DqW/UwSnuZ6TYtOoCFVaxTj3kRCPKWC0vX7VKLeF6qT5 - 3uiv4OV46XK+mOXpG5Z/4gT/PGr5AVBLAQIUAxQAAAAIAAAAPwBhXUk6TwEAAI8EAAATAAAAAAAA - AAAAAACAgQAAAABbQ29udGVudF9UeXBlc10ueG1sUEsBAhQDFAAAAAgAAAA/APKfSdrpAAAASwIA - AAsAAAAAAAAAAAAAAICBgAEAAF9yZWxzLy5yZWxzUEsBAhQDFAAAAAgAAAA/AER1W/DoAAAAuQIA - ABoAAAAAAAAAAAAAAICBkgIAAHhsL19yZWxzL3dvcmtib29rLnhtbC5yZWxzUEsBAhQDFAAAAAgA - AAA/AFbbFFjuAgAAPQkAABgAAAAAAAAAAAAAAICBsgMAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnht - bFBLAQIUAxQAAAAIAAAAPwDvbfqrTwEAAC8CAAAPAAAAAAAAAAAAAACAgdYGAAB4bC93b3JrYm9v - ay54bWxQSwECFAMUAAAACAAAAD8ASe/PNOMAAAAdAgAAFAAAAAAAAAAAAAAAgIFSCAAAeGwvc2hh - cmVkU3RyaW5ncy54bWxQSwECFAMUAAAACAAAAD8AH/Wx3gMDAAAPEQAADQAAAAAAAAAAAAAAgIFn - CQAAeGwvc3R5bGVzLnhtbFBLAQIUAxQAAAAIAAAAPwAY+kZUsAUAAFIbAAATAAAAAAAAAAAAAACA - gZUMAAB4bC90aGVtZS90aGVtZTEueG1sUEsBAhQDFAAAAAgAAAA/AIhSO08lAQAAUAIAABEAAAAA - AAAAAAAAAICBdhIAAGRvY1Byb3BzL2NvcmUueG1sUEsBAhQDFAAAAAgAAAA/ALLAMkd+AQAAGQMA - ABAAAAAAAAAAAAAAAICByhMAAGRvY1Byb3BzL2FwcC54bWxQSwUGAAAAAAoACgCAAgAAdhUAAAAA + yzkZiMc+L/QCcdb36lez1jud0H5wytc2pZjavzDy6uLqI1BLAwQUAAAACAAAAD8Ak2dGsusCAABE + CQAAGAAAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbI2WXW+bMBSG7/crEPcDf39ESao2VbVdTJr2 + eU3BSVABR+A227+fMUnrGiMNJAScc3weXpsX1jd/2iZ5Uf1Q626TwgykiepKXdXdYZP+/PHwUaTJ + YIquKhrdqU36Vw3pzfbD+qz7p+GolEnsAN2wSY/GnFZ5PpRH1RZDpk+qs5G97tvC2Mv+kA+nXhWV + K2qbHAHA8raou3QaYdX/zxh6v69Lda/L51Z1ZhqkV01hLP5wrE9Dul1XtY2Nz5P0ar9Jb+FqB3Ga + b9eu9a9anQfvPDHF43fVqNKoygqQJuOTPWr9NAY/21tgLM1ntQ+O6mufVGpfPDfmmz5/UvXhaOwg + dCwpdTO4Y9LWnRu5Lf5MHerKHO0ZzygHGCKaJuXzYHT7+xK4lE+F6FKI3wpZRhDlYqEynzo7yvvC + FNt1r89J71oPp2KcLLjCVqhyvHk73nUxSz7K97JF6/xlHOaScTdlIC8DvM/YTRnYy4CvGbnt/oqA + ogjIlROvHAcIUwZ1MUaD7lOQTX05ybgEmF33OAeOcmA3EPc4SMAxZYiJAwYcU1BOHBRkEHBMBZGA + sgUMEsUgM4zgie+IJwcPJ4P4ckCQMYwlE4i6Y5yDRjnojIMFHNSTgwZztqO+HIxYDsQZlZQTwkSc + g0U52IyDBxzM04MGc7Zjnh6I8Awj/LbFOXiUg884RMDBfT2C4I77ekCcUQLZdeNxDhHlEDMOGXAI + f30Ek7YTvh6Wg3BpFwfHEJMlPWSUQ844YLAW76QniAzfW/lugVg3FIJJQDiD9pWJg0AQ9zAwR4Gh + iwFPFBiS7i7hiyyYZ4iCBTXggpHCOcTMSqEvSGggl+jVQUhGgBPDSbLgqDBuqRDNYUJThb6rUhnC + +LaKAc8k5kBe9wWYuK/CubHC0FnhO2sNvQT63oooygQUiy9P7n36TsVBfSn6Q90NSaP2tj/ILEc/ + fandudEnd2b96lEb+zG9Xh3t74rqxyvbfa+1uV6MH9nXH6DtP1BLAwQUAAAACAAAAD8A7236q08B + AAAvAgAADwAAAHhsL3dvcmtib29rLnhtbI1Ry07DMBC88xWW7zQPJRGtmlSigKiEgENpzybeNFb9 + iGyHtH/POlUK3Dh5Z3Z3NLNerk5Kki+wThhd0mQWUwK6NlzoQ0k/tk+3d5Q4zzRn0mgo6RkcXVU3 + y8HY46cxR4L72pW09b5bRJGrW1DMzUwHGjuNsYp5hPYQuc4C464F8EpGaRwXkWJC04vCwv5HwzSN + qOHB1L0C7S8iFiTz6N61onO0WjZCwu4SiLCue2UKbZ8kJZI5/8iFB17SDKEZ4A9h++6+FzKAPM5p + VF1DvlvCoWG99Fu0NqnjudIsTYswGaZ2Agb3sxQgOe2F5mYoaZrhZc8TSnJKhrHeC+5bJIp4fuWe + QRxaX9J5UcRBPPqlPt5veokew617541CU2RrQXP8sNDcYJAEUy0EFnbDk1Fq2q+ZrDFWeMbBNMuT + OSVNL+UauTf9YtgoEJamSNU3UEsDBBQAAAAIAAAAPwDUNQMq4QAAAB0CAAAUAAAAeGwvc2hhcmVk + U3RyaW5ncy54bWxt0cFqwzAMBuD7nsL43thJ164djnso7Am2czCJ2hhiObOU0L39XAZlFB/96Rey + kDndwiRWSOQjtrKutBSAfRw8Xlv59fmxOUhB7HBwU0Ro5Q+QPNkXQ8QityK1cmSe35WifoTgqIoz + YK5cYgqO8zNdFc0J3EAjAIdJNVrvVXAepejjgpzH7qRY0H8vcH6ANeStYevCnbp46VzPfoWuX4hj + yD82iq1R99RfMsEKuEA3Q3qEnjODY6hCRB6fK41uthtdl7kp87bMr2XelXlf5rcyH8p8LHKty1ze + sv63pcr3tb9QSwMEFAAAAAgAAAA/AB/1sd4DAwAADxEAAA0AAAB4bC9zdHlsZXMueG1szVjRbpsw + FH3fV1ju61ZImmbZBFRbJaRJWzWp3bRXgw2xZmxkTJT062djCNCRhiZZF3jAvtx7zrn2jW3i3awz + BlZEFlRwH04uXQgIjwWmPPXhj4fw3QKCQiGOEROc+HBDCngTvPEKtWHkfkmIAhqBFz5cKpV/dJwi + XpIMFZciJ1y/SYTMkNJdmTpFLgnChQnKmDN13bmTIcph4PEyCzNVgFiUXGkZWxOwjy9YG+czCCzc + rcBaysXbiwsXOoHn1OGBlwjeolxDawi84hGsENMQE+MeCyYkUFomMVTawlFGrMctYjSS1BgTlFG2 + seapMVSZ1X4Z5UJW3Jahz7NoaWQa+TAM3erqc/0kEiOOBrmGYS/dv4Dt1QdenQJ44Zr7lMDDIz4C + s3qY2aWM9WdXGwIvR0oRyUPdAXX7YZNrJq4r1sJUfnu8U4k2k+n1+IBCMIqNivR2eOCi+gXlmKyJ + LmFdwQa9g3gkVzv7r8DlmvulXNVDz10kJNarTDN7C9iYAo+RROlwSdOleSqRGw6hlMh0A1OUCo6Y + IWgiRkSCaoHyoVrS+DdsShCVStQV6Fi//QT7kYxXT0UnhMOdvytHe55ernM2SkZyd0ZvP3fl9jSz + Hb7DST0n5aVj3MBipDc1PF4wP0jvMdWwF/A/6/y3tTK0KhxaB3VDL2kxYeze4P1KeieXddI5tbjm + zMK3Tb0Y1k0LYzsGv4tmsbuw7kG4YJ1sCXZFT3ZET9pogPKcbUJhE7S9z5Vj2//EaMoz0owBarpg + KSR91KFmUzfTB81pU9HY9PXUVLmvk936pq2+aVff9Hl9ZhM6hdpD5V2dh7yrVt5VV97sdeSNmev6 + XG/1znZU4/VTvXdlFhEZVp8DHd3H12i1anSFx9qDyCO0z89T+4gqeX/+VTI7ukpOkMVJamZ2dM28 + QiZOvTF1dr/e3re1AvOF58M7I5h1kolKyhTlA/uexsTrdsur3ioUMdJn0RiYJKhk6mH70odt+xvB + tMw+bL2+05VQtVfb/mrynMwrBe1fGcEfUEsDBBQAAAAIAAAAPwAY+kZUsAUAAFIbAAATAAAAeGwv + dGhlbWUvdGhlbWUxLnhtbO1ZTY/bRBi+8ytGvreOEzvNrpqtNtmkhe22q920qMeJPbGnGXusmclu + c0PtEQkJURAXJG4cEFCplbiUX7NQBEXqX+D1R5LxZrLNtosAtTkknvHzfn/4HefqtQcxQ0dESMqT + tuVcrlmIJD4PaBK2rTuD/qWWhaTCSYAZT0jbmhJpXdv64CreVBGJCQLyRG7ithUplW7atvRhG8vL + PCUJ3BtxEWMFSxHagcDHwDZmdr1Wa9oxpomFEhwD19ujEfUJGmQsra0Z8x6Dr0TJbMNn4tDPJeoU + OTYYO9mPnMouE+gIs7YFcgJ+PCAPlIUYlgputK1a/rHsrav2nIipFbQaXT//lHQlQTCu53QiHM4J + nb67cWVnzr9e8F/G9Xq9bs+Z88sB2PfBUmcJ6/ZbTmfGUwMVl8u8uzWv5lbxGv/GEn6j0+l4GxV8 + Y4F3l/CtWtPdrlfw7gLvLevf2e52mxW8t8A3l/D9KxtNt4rPQRGjyXgJncVzHpk5ZMTZDSO8BfDW + LAEWKFvLroI+UatyLcb3uegDIA8uVjRBapqSEfYB18XxUFCcCcCbBGt3ii1fLm1lspD0BU1V2/oo + xVARC8ir5z+8ev4UvXr+5OThs5OHP588enTy8CcD4Q2chDrhy+8+/+ubT9CfT799+fhLM17q+N9+ + /PTXX74wA5UOfPHVk9+fPXnx9Wd/fP/YAN8WeKjDBzQmEt0ix+iAx2CbQQAZivNRDCJMKxQ4AqQB + 2FNRBXhripkJ1yFV590V0ABMwOuT+xVdDyMxUdQA3I3iCnCPc9bhwmjObiZLN2eShGbhYqLjDjA+ + Msnungptb5JCJlMTy25EKmruM4g2DklCFMru8TEhBrJ7lFb8ukd9wSUfKXSPog6mRpcM6FCZiW7Q + GOIyNSkIoa74Zu8u6nBmYr9DjqpIKAjMTCwJq7jxOp4oHBs1xjHTkTexikxKHk6FX3G4VBDpkDCO + egGR0kRzW0wr6u5i6ETGsO+xaVxFCkXHJuRNzLmO3OHjboTj1KgzTSId+6EcQ4pitM+VUQlerZBs + DXHAycpw36VEna+s79AwMidIdmciyq5d6b8xTc5qxoxCN37fjGfwbXg0mUridAtehfsfNt4dPEn2 + CeT6+777vu++i313VS2v220XDdbW5+KcX7xySB5Rxg7VlJGbMm/NEpQO+rCZL3Ki+UyeRnBZiqvg + QoHzayS4+piq6DDCKYhxcgmhLFmHEqVcwknAWsk7P05SMD7f82ZnQEBjtceDYruhnw3nbPJVKHVB + jYzBusIaV95OmFMA15TmeGZp3pnSbM2bUA0IZwd/p1kvREPGYEaCzO8Fg1lYLjxEMsIBKWPkGA1x + Gmu6rfV6r2nSNhpvJ22dIOni3BXivAuIUm0pSvZyObKkukLHoJVX9yzk47RtjWCSgss4BX4ya0CY + hUnb8lVpymuL+bTB5rR0aisNrohIhVQ7WEYFVX5r9uokWehf99zMDxdjgKEbradFo+X8i1rYp0NL + RiPiqxU7i2V5j08UEYdRcIyGbCIOMOjtFtkVUAnPjPpsIaBC3TLxqpVfVsHpVzRldWCWRrjsSS0t + 9gU8v57rkK809ewVur+hKY0LNMV7d03JMhfG1kaQH6hgDBAYZTnatrhQEYculEbU7wsYHHJZoBeC + sshUQix735zpSo4WfavgUTS5MFIHNESCQqdTkSBkX5V2voaZU9efrzNGZZ+ZqyvT4ndIjggbZNXb + zOy3UDTrJqUjctzpoNmm6hqG/f/w5OOumHzOHg8WgtzzzCKu1vS1R8HG26lwzkdt3Wxx3Vv7UZvC + 4QNlX9C4qfDZYr4d8AOIPppPlAgS8VKrLL/55hB0bmnGZaz+2TFqEYLWinhf5PCpObuxwtlni3tz + Z3sGX3tnu9peLlFbO8jkq6U/nvjwPsjegYPShClZvE16AEfN7uwvA+BjL0i3/gZQSwMEFAAAAAgA + AAA/AOHu/dIlAQAAUAIAABEAAABkb2NQcm9wcy9jb3JlLnhtbJ2SzWrDMBCE730Ko7sty05LELYD + bcmpgUJTWnoT0iYRtX6Q1Dp++yqO4ySQU4+rmf12dlG12Ks2+QXnpdE1IlmOEtDcCKm3NXpfL9M5 + SnxgWrDWaKhRDx4tmruKW8qNg1dnLLggwScRpD3ltka7ECzF2PMdKOaz6NBR3BinWIil22LL+Dfb + Ai7y/AErCEywwPABmNqJiEak4BPS/rh2AAiOoQUFOnhMMoLP3gBO+ZsNg3LhVDL0Fm5aT+Lk3ns5 + Gbuuy7pysMb8BH+uXt6GVVOpD6figJpKcModsGBcU+HLIh6uZT6s4ok3EsRjH/Ubb+Mixz4QSQxA + j3FPykf59LxeoqbIizIlRUpmazKjZE7v86/DyKv+M1CNQ/5NPAGOua8/QfMHUEsDBBQAAAAIAAAA + PwCywDJHfgEAABkDAAAQAAAAZG9jUHJvcHMvYXBwLnhtbJ1SwU7rMBC88xWR79RphdBT5RihAuLA + 06vUAGfjbBoLx7a826h9X4+TqiEFTuQ0OzsaT3ZX3Oxbm3UQ0XhXsPksZxk47SvjtgV7Lh8u/7AM + SblKWe+gYAdAdiMvxDr6AJEMYJYcHBasIQpLzlE30CqcpbZLndrHVlEq45b7ujYa7rzeteCIL/L8 + msOewFVQXYbRkB0dlx391rTyus+HL+UhJD8pbkOwRitKPyn/Gh09+pqy+70GK/i0KZLRBvQuGjrI + XPBpKTZaWVglY1kriyD4JyEeQfUzWysTUYqOlh1o8jFD8z9NbcGyN4XQxylYp6JRjthRdiwGbANS + lK8+vmMDQCj4SA5wqp1icyXngyCBcyEfgyR8HrE0ZAH/1WsV6YfE82niIQObZFztkHybriYrY1rf + t6CnJ788svJtUC5Nko/oybh3fA6lv1MEp7mek2LTqAhVWsU495EQjylgtL1+1Si3heqk+d7or+Dl + eOlyvpjl6RuWf+IE/zxq+QFQSwECFAMUAAAACAAAAD8AYV1JOk8BAACPBAAAEwAAAAAAAAAAAAAA + gIEAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQIUAxQAAAAIAAAAPwDyn0na6QAAAEsCAAALAAAA + AAAAAAAAAACAgYABAABfcmVscy8ucmVsc1BLAQIUAxQAAAAIAAAAPwBEdVvw6AAAALkCAAAaAAAA + AAAAAAAAAACAgZICAAB4bC9fcmVscy93b3JrYm9vay54bWwucmVsc1BLAQIUAxQAAAAIAAAAPwCT + Z0ay6wIAAEQJAAAYAAAAAAAAAAAAAACAgbIDAAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQSwEC + FAMUAAAACAAAAD8A7236q08BAAAvAgAADwAAAAAAAAAAAAAAgIHTBgAAeGwvd29ya2Jvb2sueG1s + UEsBAhQDFAAAAAgAAAA/ANQ1AyrhAAAAHQIAABQAAAAAAAAAAAAAAICBTwgAAHhsL3NoYXJlZFN0 + cmluZ3MueG1sUEsBAhQDFAAAAAgAAAA/AB/1sd4DAwAADxEAAA0AAAAAAAAAAAAAAICBYgkAAHhs + L3N0eWxlcy54bWxQSwECFAMUAAAACAAAAD8AGPpGVLAFAABSGwAAEwAAAAAAAAAAAAAAgIGQDAAA + eGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIUAxQAAAAIAAAAPwDh7v3SJQEAAFACAAARAAAAAAAAAAAA + AACAgXESAABkb2NQcm9wcy9jb3JlLnhtbFBLAQIUAxQAAAAIAAAAPwCywDJHfgEAABkDAAAQAAAA + AAAAAAAAAACAgcUTAABkb2NQcm9wcy9hcHAueG1sUEsFBgAAAAAKAAoAgAIAAHEVAAAAAA== diff --git a/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml b/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml index e0eb96ddb..7850bc7ca 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_attribute_and_metric.yaml @@ -130,10 +130,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: f7393eca91fe747cbb7a075d5289db02c344e9cc + executionResult: 642fe2037b7fad75439a69cbc27a0a47a559f447 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f7393eca91fe747cbb7a075d5289db02c344e9cc?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/642fe2037b7fad75439a69cbc27a0a47a559f447?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml b/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml index bc8036954..a9041ecf9 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_attribute_metric_and_filter.yaml @@ -137,10 +137,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 6c737904e71953b18806b1f40683ed7e8d4d5948 + executionResult: 3c93ea9cd03d31d92b3d5dc01aeb7f5c7a9703c0 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6c737904e71953b18806b1f40683ed7e8d4d5948?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3c93ea9cd03d31d92b3d5dc01aeb7f5c7a9703c0?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml b/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml index 7eacbe63a..9647b2878 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_attribute_show_all_values.yaml @@ -132,10 +132,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: 44d185132c70affa295d78f1c3c3ae89f50bfb69 + executionResult: e3d558e815bd19dd49d095adbbb438174f9d598a - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/44d185132c70affa295d78f1c3c3ae89f50bfb69?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e3d558e815bd19dd49d095adbbb438174f9d598a?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -570,10 +570,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: e248e3ac9b4d3c186cf84f936b2f7046a16af70a + executionResult: bf653c7c0960cc34ccf6f3800a4a0d77a6469f05 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e248e3ac9b4d3c186cf84f936b2f7046a16af70a?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bf653c7c0960cc34ccf6f3800a4a0d77a6469f05?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -1004,10 +1004,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: 2bf1995305d301d5c9935e3a86782c6639c39de5 + executionResult: 33fef9b6d4d2cd22d2e3dd79250c2fafa1d34285 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2bf1995305d301d5c9935e3a86782c6639c39de5?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/33fef9b6d4d2cd22d2e3dd79250c2fafa1d34285?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml b/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml index 36b25066c..9f411acd7 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml @@ -112,10 +112,10 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 9c08cf7b36913625287438515704b3188d4c84ea + executionResult: e6e3be393bc7e03d86329337db4e49ecc38d0913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9c08cf7b36913625287438515704b3188d4c84ea?offset=0&limit=512 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e6e3be393bc7e03d86329337db4e49ecc38d0913?offset=0&limit=512 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml b/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml index 506b01761..58e80a078 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml @@ -106,10 +106,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: f8fe9d17738b00067aff01f7bcfbe5290dc30c17 + executionResult: 50ea0dc18eaee0581ef2849ba578b1c3e6fab4f9 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f8fe9d17738b00067aff01f7bcfbe5290dc30c17?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/50ea0dc18eaee0581ef2849ba578b1c3e6fab4f9?offset=0&limit=256 body: null headers: Accept: diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index 3034512ce..df08356f7 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -784,7 +784,7 @@ "type": "boolean" }, "dataSamplingPercentage": { - "default": 100, + "default": 100.0, "deprecated": true, "description": "Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.", "format": "float", @@ -921,7 +921,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1, + 1.0, 2.5 ], [ @@ -966,7 +966,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1, + 1.0, 2.5 ], [ diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index 72c0b4ab7..454d6284b 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -1656,7 +1656,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "example": "POSTGRESQL", @@ -3574,7 +3574,7 @@ "type": "boolean" }, "dataSamplingPercentage": { - "default": 100, + "default": 100.0, "deprecated": true, "description": "Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.", "format": "float", @@ -3774,7 +3774,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1, + 1.0, 2.5 ], [ @@ -3819,7 +3819,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1, + 1.0, 2.5 ], [ @@ -6806,7 +6806,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -6968,7 +6968,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -7099,7 +7099,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -7270,7 +7270,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -12797,6 +12797,32 @@ }, "type": "object" }, + "dataModel": { + "properties": { + "datasetCount": { + "description": "include the number of dataset of each workspace", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "datasetCount" + ], + "type": "object" + }, + "hierarchy": { + "properties": { + "childrenCount": { + "description": "include the number of direct children of each workspace", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "childrenCount" + ], + "type": "object" + }, "permissions": { "description": "List of valid permissions for a logged-in user.", "items": { @@ -14566,24 +14592,6 @@ ], "type": "object" }, - "StagingUploadLocation": { - "description": "Information related to uploading a file to the staging area.", - "properties": { - "location": { - "description": "Location relative to the root of the storage.", - "type": "string" - }, - "uploadUrl": { - "description": "Pre-signed upload URL to PUT the file to.", - "type": "string" - } - }, - "required": [ - "location", - "uploadUrl" - ], - "type": "object" - }, "TableWarning": { "description": "Warnings related to single table.", "properties": { @@ -14690,7 +14698,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "example": "POSTGRESQL", @@ -15653,45 +15661,6 @@ } } }, - "/api/v1/actions/dataSources/{dataSourceId}/staging/upload": { - "post": { - "description": "Provides a location for uploading staging files.", - "operationId": "getStagingUploadLocation", - "parameters": [ - { - "in": "path", - "name": "dataSourceId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StagingUploadLocation" - } - } - }, - "description": "Staging upload location was registered." - } - }, - "summary": "Get a staging upload location", - "tags": [ - "Get staging location", - "actions" - ], - "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", - "permissions": [ - "MANAGE" - ] - } - } - }, "/api/v1/actions/dataSources/{dataSourceId}/test": { "post": { "description": "Test if it is possible to connect to a database using an existing data source definition.", @@ -21018,7 +20987,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", "explode": false, "in": "query", "name": "metaInclude", @@ -21029,6 +20998,8 @@ "enum": [ "config", "permissions", + "hierarchy", + "dataModelDatasets", "all", "ALL" ], @@ -21091,7 +21062,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", "explode": false, "in": "query", "name": "metaInclude", @@ -21102,6 +21073,8 @@ "enum": [ "config", "permissions", + "hierarchy", + "dataModelDatasets", "all", "ALL" ], @@ -21223,7 +21196,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", "explode": false, "in": "query", "name": "metaInclude", @@ -21234,6 +21207,8 @@ "enum": [ "config", "permissions", + "hierarchy", + "dataModelDatasets", "all", "ALL" ], diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 8ad4847ec..51418dd6c 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -870,7 +870,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "example": "POSTGRESQL", @@ -5478,7 +5478,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -5640,7 +5640,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -5771,7 +5771,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -5942,7 +5942,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "type": "string" @@ -11469,6 +11469,32 @@ }, "type": "object" }, + "dataModel": { + "properties": { + "datasetCount": { + "description": "include the number of dataset of each workspace", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "datasetCount" + ], + "type": "object" + }, + "hierarchy": { + "properties": { + "childrenCount": { + "description": "include the number of direct children of each workspace", + "format": "int32", + "type": "integer" + } + }, + "required": [ + "childrenCount" + ], + "type": "object" + }, "permissions": { "description": "List of valid permissions for a logged-in user.", "items": { @@ -12401,24 +12427,6 @@ ], "type": "object" }, - "StagingUploadLocation": { - "description": "Information related to uploading a file to the staging area.", - "properties": { - "location": { - "description": "Location relative to the root of the storage.", - "type": "string" - }, - "uploadUrl": { - "description": "Pre-signed upload URL to PUT the file to.", - "type": "string" - } - }, - "required": [ - "location", - "uploadUrl" - ], - "type": "object" - }, "UserAssignee": { "description": "List of users", "properties": { @@ -12896,45 +12904,6 @@ } } }, - "/api/v1/actions/dataSources/{dataSourceId}/staging/upload": { - "post": { - "description": "Provides a location for uploading staging files.", - "operationId": "getStagingUploadLocation", - "parameters": [ - { - "in": "path", - "name": "dataSourceId", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StagingUploadLocation" - } - } - }, - "description": "Staging upload location was registered." - } - }, - "summary": "Get a staging upload location", - "tags": [ - "Get staging location", - "actions" - ], - "x-gdc-security-info": { - "description": "Minimal permission required to use this endpoint.", - "permissions": [ - "MANAGE" - ] - } - } - }, "/api/v1/actions/dataSources/{dataSourceId}/uploadNotification": { "post": { "description": "Notification sets up all reports to be computed again with new data.", @@ -17425,7 +17394,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", "explode": false, "in": "query", "name": "metaInclude", @@ -17436,6 +17405,8 @@ "enum": [ "config", "permissions", + "hierarchy", + "dataModelDatasets", "all", "ALL" ], @@ -17498,7 +17469,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", "explode": false, "in": "query", "name": "metaInclude", @@ -17509,6 +17480,8 @@ "enum": [ "config", "permissions", + "hierarchy", + "dataModelDatasets", "all", "ALL" ], @@ -17630,7 +17603,7 @@ }, { "description": "Include Meta objects.", - "example": "metaInclude=config,permissions,all", + "example": "metaInclude=config,permissions,hierarchy,dataModelDatasets,all", "explode": false, "in": "query", "name": "metaInclude", @@ -17641,6 +17614,8 @@ "enum": [ "config", "permissions", + "hierarchy", + "dataModelDatasets", "all", "ALL" ], diff --git a/schemas/gooddata-scan-client.json b/schemas/gooddata-scan-client.json index 7d08212ad..c78898c18 100644 --- a/schemas/gooddata-scan-client.json +++ b/schemas/gooddata-scan-client.json @@ -375,7 +375,7 @@ "AZURESQL", "SYNAPSESQL", "DATABRICKS", - "GD_STORAGE", + "GDSTORAGE", "CLICKHOUSE" ], "example": "POSTGRESQL",