diff --git a/gooddata-api-client/docs/ActionsApi.md b/gooddata-api-client/docs/ActionsApi.md index 6415ebb35..3f215a617 100644 --- a/gooddata-api-client/docs/ActionsApi.md +++ b/gooddata-api-client/docs/ActionsApi.md @@ -434,7 +434,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/ComputationApi.md b/gooddata-api-client/docs/ComputationApi.md index cd4239d1d..1fd3b1136 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 dc378b19f..917572a37 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/gooddata_api_client/model/declarative_setting.py b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py index e092d9971..aa463aaaf 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py @@ -68,6 +68,7 @@ class DeclarativeSetting(ModelNormal): 'WEEK_START': "WEEK_START", 'SHOW_HIDDEN_CATALOG_ITEMS': "SHOW_HIDDEN_CATALOG_ITEMS", 'OPERATOR_OVERRIDES': "OPERATOR_OVERRIDES", + 'TIMEZONE_VALIDATION_ENABLED': "TIMEZONE_VALIDATION_ENABLED", }, } 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 2801edaec..cfd0774a1 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_request.py @@ -176,7 +176,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 @@ -274,7 +274,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_organization_setting_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py index 23ae10406..d7a624697 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py @@ -68,6 +68,7 @@ class JsonApiOrganizationSettingInAttributes(ModelNormal): 'WEEK_START': "WEEK_START", 'SHOW_HIDDEN_CATALOG_ITEMS': "SHOW_HIDDEN_CATALOG_ITEMS", 'OPERATOR_OVERRIDES': "OPERATOR_OVERRIDES", + 'TIMEZONE_VALIDATION_ENABLED': "TIMEZONE_VALIDATION_ENABLED", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py index 0624de2d1..63dac4be1 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py @@ -68,6 +68,7 @@ class ResolvedSetting(ModelNormal): 'WEEK_START': "WEEK_START", 'SHOW_HIDDEN_CATALOG_ITEMS': "SHOW_HIDDEN_CATALOG_ITEMS", 'OPERATOR_OVERRIDES': "OPERATOR_OVERRIDES", + 'TIMEZONE_VALIDATION_ENABLED': "TIMEZONE_VALIDATION_ENABLED", }, } 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 23c8c8274..03c062cd5 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: b9b5bb5d6d176163d9aeb2d546473f3a6fe1efb2 + executionResult: a77bb0f0613bd7bbed1b5660a980134f21ee9ba9 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b9b5bb5d6d176163d9aeb2d546473f3a6fe1efb2?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a77bb0f0613bd7bbed1b5660a980134f21ee9ba9?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 5265b861d..0710d71cd 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: 8114a159b4e8376aaa83e7a7f8d88bf260148661 + executionResult: 1c36f278e69004209cdfeda90e9f8957e0048523 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8114a159b4e8376aaa83e7a7f8d88bf260148661?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1c36f278e69004209cdfeda90e9f8957e0048523?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 98f20ac0f..f1955c832 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: 22e46c935be291ec8b185eaaf5a10c5efbb0d7be + executionResult: d75dd01bf9e504b45cad040ec460580b1cfae316 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/22e46c935be291ec8b185eaaf5a10c5efbb0d7be?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d75dd01bf9e504b45cad040ec460580b1cfae316?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 fb996917c..72e335f8d 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml @@ -70,6 +70,7 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff + X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: @@ -173,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -220,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -273,7 +274,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -477,10 +478,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 2cdd20b517a275e9f7d43d03aa0a9e383698762b + executionResult: 2157c069105ab360e8902ff6e96d29fbd0585207 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2cdd20b517a275e9f7d43d03aa0a9e383698762b?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2157c069105ab360e8902ff6e96d29fbd0585207?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 6e46144e7..72e335f8d 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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: 2cdd20b517a275e9f7d43d03aa0a9e383698762b + executionResult: 2157c069105ab360e8902ff6e96d29fbd0585207 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2cdd20b517a275e9f7d43d03aa0a9e383698762b?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2157c069105ab360e8902ff6e96d29fbd0585207?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 6dd45fb17..0c84de8ee 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 @@ -126,6 +126,31 @@ 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: @@ -226,122 +251,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -496,83 +457,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -616,15 +616,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -640,15 +640,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1123,10 +1123,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1158,10 +1158,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1187,43 +1187,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1240,15 +1213,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1264,15 +1237,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1293,20 +1266,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1314,16 +1287,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1351,16 +1324,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1703,7 +1703,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1718,7 +1718,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1733,7 +1733,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1750,7 +1750,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1766,7 +1766,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1781,7 +1781,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1796,7 +1796,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1811,7 +1811,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1827,7 +1827,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1843,7 +1843,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1859,7 +1859,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1875,7 +1875,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -1891,7 +1891,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -1908,7 +1908,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -1924,7 +1924,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1940,7 +1940,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1956,7 +1956,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1972,7 +1972,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1988,7 +1988,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2003,7 +2003,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2018,7 +2018,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2033,7 +2033,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2048,7 +2048,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2063,7 +2063,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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 dd5fbae9b..be9ef725a 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 @@ -126,6 +126,31 @@ 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: @@ -226,122 +251,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -496,83 +457,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -616,15 +616,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -640,15 +640,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1123,10 +1123,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1158,10 +1158,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1179,51 +1179,24 @@ interactions: - id: customer_id type: attribute dataSourceTableId: demo-test-ds:customers - dataSourceTablePath: - - demo - - customers - areRelationsValid: true - type: NORMAL - relationships: - attributes: - data: - - id: customer_id - type: attribute - - id: customer_name - 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 + dataSourceTablePath: + - demo + - customers areRelationsValid: true - type: DATE + type: NORMAL relationships: attributes: data: - - id: date.month - type: attribute - - id: date.day + - id: customer_name type: attribute - - id: date.quarter + - id: customer_id type: attribute - - id: date.week + - id: region type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1240,15 +1213,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1264,15 +1237,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1293,20 +1266,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1314,16 +1287,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1351,16 +1324,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1703,7 +1703,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1718,7 +1718,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1733,7 +1733,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1750,7 +1750,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1766,7 +1766,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1781,7 +1781,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1796,7 +1796,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1811,7 +1811,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1827,7 +1827,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1843,7 +1843,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1859,7 +1859,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1875,7 +1875,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -1891,7 +1891,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -1908,7 +1908,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -1924,7 +1924,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1940,7 +1940,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1956,7 +1956,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1972,7 +1972,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -1988,7 +1988,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2003,7 +2003,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2018,7 +2018,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2033,7 +2033,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2048,7 +2048,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2063,7 +2063,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2103,7 +2103,7 @@ interactions: Connection: - keep-alive Content-Length: - - '32983' + - '32984' 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 @@ -2213,7 +2213,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -2284,9 +2284,9 @@ interactions: identifier: id: date type: dataset - from: -11 + from: -12 granularity: GDC.time.month - to: 0 + to: -1 properties: controls: colorMapping: @@ -2312,7 +2312,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -2338,90 +2338,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: 2024-01-11 10:30 - 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: @@ -2500,7 +2416,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -2526,6 +2442,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: 2024-01-25 12:25 + 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: @@ -2582,7 +2582,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -2656,7 +2656,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -2752,7 +2752,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -2838,7 +2838,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -2958,7 +2958,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -3045,7 +3045,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -3109,7 +3109,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -3184,7 +3184,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -3273,7 +3273,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -3355,7 +3355,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -3433,7 +3433,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -3460,7 +3460,7 @@ interactions: type: metric attributes: title: '# of Orders' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3471,7 +3471,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -3529,7 +3529,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -3540,7 +3540,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -3550,7 +3550,7 @@ interactions: type: metric attributes: title: Revenue / Top 10 - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -3571,7 +3571,7 @@ interactions: type: metric attributes: title: '% Revenue per Product' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -3672,7 +3672,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -3695,7 +3695,7 @@ interactions: type: metric attributes: title: Campaign Spend - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -3705,7 +3705,7 @@ interactions: type: metric attributes: title: Revenue per Dollar Spent - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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 113222400..570abfd76 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: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b 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/fdbaee19a8041af21992f5e6b556acb74f2cbf86?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b?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 113222400..570abfd76 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: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b 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/fdbaee19a8041af21992f5e6b556acb74f2cbf86?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b?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 1156c974a..82bcfe8f2 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: d08b75baa045372a08c1a6ec4a5ae1a4976296ee + executionResult: 3e4d67f16f285a9a05060411025944503ba94077 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d08b75baa045372a08c1a6ec4a5ae1a4976296ee/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3e4d67f16f285a9a05060411025944503ba94077/metadata body: null headers: Accept: @@ -347,7 +347,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: d08b75baa045372a08c1a6ec4a5ae1a4976296ee + executionResult: 3e4d67f16f285a9a05060411025944503ba94077 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/d08b75baa045372a08c1a6ec4a5ae1a4976296ee?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3e4d67f16f285a9a05060411025944503ba94077?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/d08b75baa045372a08c1a6ec4a5ae1a4976296ee/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3e4d67f16f285a9a05060411025944503ba94077/metadata body: null headers: Accept: @@ -4986,7 +4986,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: d08b75baa045372a08c1a6ec4a5ae1a4976296ee + executionResult: 3e4d67f16f285a9a05060411025944503ba94077 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/d08b75baa045372a08c1a6ec4a5ae1a4976296ee?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3e4d67f16f285a9a05060411025944503ba94077?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 5471fd8ca..c8194d7c3 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: 7a62e0390319c8a914ab884d58a06674cc7f78cb + executionResult: 2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7a62e0390319c8a914ab884d58a06674cc7f78cb/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7a62e0390319c8a914ab884d58a06674cc7f78cb + executionResult: 2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a 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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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/7a62e0390319c8a914ab884d58a06674cc7f78cb/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a/metadata body: null headers: Accept: @@ -5283,7 +5283,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7a62e0390319c8a914ab884d58a06674cc7f78cb + executionResult: 2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a 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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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/7a62e0390319c8a914ab884d58a06674cc7f78cb?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d5cf45c0e9a8a6b895c38ed1485e99f08d6378a?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 291442858..de1535497 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: 38942ba5b2c2a332607bb1589f2727f630962398 + executionResult: 894be7423e580e6d3202fcebff6a7773d8bd0229 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/38942ba5b2c2a332607bb1589f2727f630962398/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/894be7423e580e6d3202fcebff6a7773d8bd0229/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 38942ba5b2c2a332607bb1589f2727f630962398 + executionResult: 894be7423e580e6d3202fcebff6a7773d8bd0229 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/38942ba5b2c2a332607bb1589f2727f630962398?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/894be7423e580e6d3202fcebff6a7773d8bd0229?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/38942ba5b2c2a332607bb1589f2727f630962398/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/894be7423e580e6d3202fcebff6a7773d8bd0229/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 38942ba5b2c2a332607bb1589f2727f630962398 + executionResult: 894be7423e580e6d3202fcebff6a7773d8bd0229 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/38942ba5b2c2a332607bb1589f2727f630962398?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/894be7423e580e6d3202fcebff6a7773d8bd0229?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 9055c609e..0f8c6fa2a 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: 5b783bb394120a07b5003aea2a2d6de2b225cb64 + executionResult: 43b036be70acba10557ef02ba16c457fd5cac215 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5b783bb394120a07b5003aea2a2d6de2b225cb64/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43b036be70acba10557ef02ba16c457fd5cac215/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5b783bb394120a07b5003aea2a2d6de2b225cb64 + executionResult: 43b036be70acba10557ef02ba16c457fd5cac215 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/5b783bb394120a07b5003aea2a2d6de2b225cb64?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43b036be70acba10557ef02ba16c457fd5cac215?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/5b783bb394120a07b5003aea2a2d6de2b225cb64/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43b036be70acba10557ef02ba16c457fd5cac215/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5b783bb394120a07b5003aea2a2d6de2b225cb64 + executionResult: 43b036be70acba10557ef02ba16c457fd5cac215 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/5b783bb394120a07b5003aea2a2d6de2b225cb64?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43b036be70acba10557ef02ba16c457fd5cac215?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 83805f8d1..47c8ff8c9 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: 40383368367f7d1876acf9235b5cd17c5da6d254 + executionResult: 1ce6f503b6030fb20183976feb0af3f163add80a - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/40383368367f7d1876acf9235b5cd17c5da6d254/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1ce6f503b6030fb20183976feb0af3f163add80a/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 40383368367f7d1876acf9235b5cd17c5da6d254 + executionResult: 1ce6f503b6030fb20183976feb0af3f163add80a 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/40383368367f7d1876acf9235b5cd17c5da6d254?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1ce6f503b6030fb20183976feb0af3f163add80a?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/40383368367f7d1876acf9235b5cd17c5da6d254/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1ce6f503b6030fb20183976feb0af3f163add80a/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 40383368367f7d1876acf9235b5cd17c5da6d254 + executionResult: 1ce6f503b6030fb20183976feb0af3f163add80a 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/40383368367f7d1876acf9235b5cd17c5da6d254?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1ce6f503b6030fb20183976feb0af3f163add80a?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 318c92db3..8130659db 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: 0daafe2b56c60fa6444d17003c5d67726d1ed12f + executionResult: cbbc0cc56464a532bda00e8c6d8dc259d3468a29 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0daafe2b56c60fa6444d17003c5d67726d1ed12f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cbbc0cc56464a532bda00e8c6d8dc259d3468a29/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 0daafe2b56c60fa6444d17003c5d67726d1ed12f + executionResult: cbbc0cc56464a532bda00e8c6d8dc259d3468a29 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/0daafe2b56c60fa6444d17003c5d67726d1ed12f?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cbbc0cc56464a532bda00e8c6d8dc259d3468a29?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/0daafe2b56c60fa6444d17003c5d67726d1ed12f/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cbbc0cc56464a532bda00e8c6d8dc259d3468a29/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 0daafe2b56c60fa6444d17003c5d67726d1ed12f + executionResult: cbbc0cc56464a532bda00e8c6d8dc259d3468a29 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/0daafe2b56c60fa6444d17003c5d67726d1ed12f?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cbbc0cc56464a532bda00e8c6d8dc259d3468a29?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 cea89bbc1..460e46906 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: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b 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/fdbaee19a8041af21992f5e6b556acb74f2cbf86?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b?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/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b/metadata body: null headers: Accept: @@ -1345,7 +1345,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b 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/fdbaee19a8041af21992f5e6b556acb74f2cbf86?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b?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/fdbaee19a8041af21992f5e6b556acb74f2cbf86/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b/metadata body: null headers: Accept: @@ -2337,7 +2337,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: fdbaee19a8041af21992f5e6b556acb74f2cbf86 + executionResult: 698b289b514347f11d919b5708eeb36beb54521b 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/fdbaee19a8041af21992f5e6b556acb74f2cbf86?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/698b289b514347f11d919b5708eeb36beb54521b?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 6614afec0..eff8815ec 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: 6ce47babc2319911b7a1af8d479d4b5526fb7695 + executionResult: 79cc75e008835d67c0892da033ba0d18d6b882a8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6ce47babc2319911b7a1af8d479d4b5526fb7695/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/79cc75e008835d67c0892da033ba0d18d6b882a8/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 6ce47babc2319911b7a1af8d479d4b5526fb7695 + executionResult: 79cc75e008835d67c0892da033ba0d18d6b882a8 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/6ce47babc2319911b7a1af8d479d4b5526fb7695?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/79cc75e008835d67c0892da033ba0d18d6b882a8?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/6ce47babc2319911b7a1af8d479d4b5526fb7695?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/79cc75e008835d67c0892da033ba0d18d6b882a8?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/6ce47babc2319911b7a1af8d479d4b5526fb7695/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/79cc75e008835d67c0892da033ba0d18d6b882a8/metadata body: null headers: Accept: @@ -2737,7 +2737,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 6ce47babc2319911b7a1af8d479d4b5526fb7695 + executionResult: 79cc75e008835d67c0892da033ba0d18d6b882a8 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/6ce47babc2319911b7a1af8d479d4b5526fb7695?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/79cc75e008835d67c0892da033ba0d18d6b882a8?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/6ce47babc2319911b7a1af8d479d4b5526fb7695?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/79cc75e008835d67c0892da033ba0d18d6b882a8?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 2ed9e9196..e868e4567 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: a6282ea52ea9f7f1f353b99a7e814ee9cce612e1 + executionResult: bc9f4b2fe4bacaaaa12b2c500de18a9fc83fd2a3 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bc9f4b2fe4bacaaaa12b2c500de18a9fc83fd2a3/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: a6282ea52ea9f7f1f353b99a7e814ee9cce612e1 + executionResult: bc9f4b2fe4bacaaaa12b2c500de18a9fc83fd2a3 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/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bc9f4b2fe4bacaaaa12b2c500de18a9fc83fd2a3?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/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bc9f4b2fe4bacaaaa12b2c500de18a9fc83fd2a3/metadata body: null headers: Accept: @@ -1797,7 +1797,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: a6282ea52ea9f7f1f353b99a7e814ee9cce612e1 + executionResult: bc9f4b2fe4bacaaaa12b2c500de18a9fc83fd2a3 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/a6282ea52ea9f7f1f353b99a7e814ee9cce612e1?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bc9f4b2fe4bacaaaa12b2c500de18a9fc83fd2a3?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 52c27b9c2..b87b5e971 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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: 874fb316efd37f64ab187c314491e64ab75ad5c1 + executionResult: e8eaf25de4300180f9d226a9396cc318eaec7db3 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -603,6 +603,31 @@ 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: @@ -703,122 +728,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -973,83 +934,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -1093,15 +1093,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1117,15 +1117,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1600,10 +1600,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1635,10 +1635,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1664,43 +1664,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1717,15 +1690,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1741,15 +1714,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1770,20 +1743,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1791,16 +1764,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1828,16 +1801,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -2180,7 +2180,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2195,7 +2195,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2210,7 +2210,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2227,7 +2227,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2243,7 +2243,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2258,7 +2258,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2273,7 +2273,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2288,7 +2288,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2304,7 +2304,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2320,7 +2320,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2336,7 +2336,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2352,7 +2352,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2368,7 +2368,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2385,7 +2385,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2401,7 +2401,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2417,7 +2417,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2433,7 +2433,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2449,7 +2449,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2465,7 +2465,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2480,7 +2480,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2495,7 +2495,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2510,7 +2510,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2525,7 +2525,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2540,7 +2540,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2555,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/874fb316efd37f64ab187c314491e64ab75ad5c1?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e8eaf25de4300180f9d226a9396cc318eaec7db3?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 ed41c23b2..834abe525 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: - - '3304' + - '3305' 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 @@ -70,6 +70,7 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff + X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: @@ -122,9 +123,9 @@ interactions: identifier: id: date type: dataset - from: -11 + from: -12 granularity: GDC.time.month - to: 0 + to: -1 properties: controls: colorMapping: @@ -150,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -193,7 +194,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -203,7 +204,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -239,9 +240,9 @@ interactions: identifier: id: date type: dataset - from: -11 + from: -12 granularity: MONTH - to: 0 + to: -1 measures: - definition: measure: @@ -373,7 +374,7 @@ interactions: pattern: MMM y localIdentifier: dim_1 links: - executionResult: be65599074b1f352e8d756bfe4a532ed67f89fca + executionResult: 9ecdc38fa15341f7945753c15d14e78f80d61d33 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -498,6 +499,31 @@ 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: @@ -598,122 +624,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -868,83 +830,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -988,15 +989,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1012,15 +1013,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1495,10 +1496,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1530,10 +1531,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1559,43 +1560,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1612,15 +1586,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1636,15 +1610,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1665,20 +1639,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1686,16 +1660,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1723,16 +1697,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -2075,7 +2076,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2090,7 +2091,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2105,7 +2106,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2122,7 +2123,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2138,7 +2139,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2153,7 +2154,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2168,7 +2169,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2183,7 +2184,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2199,7 +2200,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2215,7 +2216,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2231,7 +2232,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2247,7 +2248,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2263,7 +2264,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2280,7 +2281,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2296,7 +2297,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2312,7 +2313,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2328,7 +2329,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2344,7 +2345,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2360,7 +2361,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2375,7 +2376,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2390,7 +2391,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2405,7 +2406,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2420,7 +2421,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2435,7 +2436,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2450,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/be65599074b1f352e8d756bfe4a532ed67f89fca?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9ecdc38fa15341f7945753c15d14e78f80d61d33?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -2520,34 +2521,34 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1374' + - '1402' body: string: data: - - - 57 - - 65 - - 60 - - 48 + - - 65 + - 61 + - 70 + - 53 + - 54 + - 58 + - 76 + - 95 + - 110 + - 91 + - 59 - 63 - - 55 - - 87 - - 87 - - 73 - - 56 - - 88 - - 65 - - - 177.33901960784314 - - 116.33793103448276 - - 112.81109090909091 - - 136.54933333333332 - - 369.3692156862745 - - 84.3002 - - 249.6326923076923 - - 208.97644736842105 - - 177.2809375 - - 170.1824 - - 178.174875 - - 174.79036363636362 + - - 174.79036363636362 + - 150.10735849056604 + - 110.63396825396825 + - 164.63276595744682 + - 247.32333333333332 + - 113.54166666666667 + - 213.47925373134328 + - 167.58869047619046 + - 237.2503 + - 154.40761904761905 + - 307.9370909090909 + - 252.81866666666667 dimensionHeaders: - headerGroups: - headers: @@ -2557,6 +2558,9 @@ interactions: measureIndex: 1 - headerGroups: - headers: + - attributeHeader: + labelValue: 2023-01 + primaryLabelValue: 2023-01 - attributeHeader: labelValue: 2023-02 primaryLabelValue: 2023-02 @@ -2590,9 +2594,6 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 - - attributeHeader: - labelValue: 2024-01 - primaryLabelValue: 2024-01 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 52c27b9c2..b87b5e971 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 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: 874fb316efd37f64ab187c314491e64ab75ad5c1 + executionResult: e8eaf25de4300180f9d226a9396cc318eaec7db3 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -603,6 +603,31 @@ 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: @@ -703,122 +728,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -973,83 +934,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -1093,15 +1093,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1117,15 +1117,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1600,10 +1600,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1635,10 +1635,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1664,43 +1664,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1717,15 +1690,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1741,15 +1714,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1770,20 +1743,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1791,16 +1764,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1828,16 +1801,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -2180,7 +2180,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2195,7 +2195,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2210,7 +2210,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2227,7 +2227,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2243,7 +2243,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2258,7 +2258,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2273,7 +2273,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2288,7 +2288,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2304,7 +2304,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2320,7 +2320,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2336,7 +2336,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2352,7 +2352,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2368,7 +2368,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2385,7 +2385,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2401,7 +2401,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2417,7 +2417,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2433,7 +2433,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2449,7 +2449,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2465,7 +2465,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2480,7 +2480,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2495,7 +2495,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2510,7 +2510,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2525,7 +2525,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2540,7 +2540,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2555,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/874fb316efd37f64ab187c314491e64ab75ad5c1?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e8eaf25de4300180f9d226a9396cc318eaec7db3?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 0e3eb793d..406a1d3a1 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: 8b749b2188c4b7bbb228c19efd46e6843120af6a + executionResult: 376976cdde863a221d90654671b2de3b531a7c1f - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -286,6 +286,31 @@ 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: @@ -386,122 +411,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -656,83 +617,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -776,15 +776,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -800,15 +800,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1283,10 +1283,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1318,10 +1318,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1347,43 +1347,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1400,15 +1373,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1424,15 +1397,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1453,20 +1426,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1474,16 +1447,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1511,16 +1484,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1863,7 +1863,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1878,7 +1878,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1893,7 +1893,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1910,7 +1910,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1926,7 +1926,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1941,7 +1941,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1956,7 +1956,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1971,7 +1971,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1987,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2003,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2019,7 +2019,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2035,7 +2035,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2051,7 +2051,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2068,7 +2068,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2084,7 +2084,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2100,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2116,7 +2116,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2132,7 +2132,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2148,7 +2148,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2163,7 +2163,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2178,7 +2178,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2193,7 +2193,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2208,7 +2208,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2223,7 +2223,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2238,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/8b749b2188c4b7bbb228c19efd46e6843120af6a?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/376976cdde863a221d90654671b2de3b531a7c1f?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 0e3eb793d..406a1d3a1 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: 8b749b2188c4b7bbb228c19efd46e6843120af6a + executionResult: 376976cdde863a221d90654671b2de3b531a7c1f - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -286,6 +286,31 @@ 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: @@ -386,122 +411,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -656,83 +617,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -776,15 +776,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -800,15 +800,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1283,10 +1283,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1318,10 +1318,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1347,43 +1347,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1400,15 +1373,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1424,15 +1397,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1453,20 +1426,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1474,16 +1447,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1511,16 +1484,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1863,7 +1863,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1878,7 +1878,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1893,7 +1893,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1910,7 +1910,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1926,7 +1926,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1941,7 +1941,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1956,7 +1956,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1971,7 +1971,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1987,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2003,7 +2003,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2019,7 +2019,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2035,7 +2035,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2051,7 +2051,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2068,7 +2068,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2084,7 +2084,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2100,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2116,7 +2116,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2132,7 +2132,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2148,7 +2148,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2163,7 +2163,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2178,7 +2178,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2193,7 +2193,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2208,7 +2208,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2223,7 +2223,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2238,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/8b749b2188c4b7bbb228c19efd46e6843120af6a?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/376976cdde863a221d90654671b2de3b531a7c1f?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 3b18075fc..1250ecc7e 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: 82e3d6db5a6eb654c3eda7a385fbd174ba11fc65 + executionResult: 413569288aeead92c2806cb429e012131009467d - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -417,6 +417,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -687,37 +718,6 @@ interactions: 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 included: - id: product_name type: label @@ -757,15 +757,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -781,15 +781,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1264,10 +1264,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1299,10 +1299,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1328,14 +1328,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1354,15 +1354,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1378,15 +1378,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1428,16 +1428,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1465,10 +1465,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1486,14 +1486,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1891,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1907,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1922,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1968,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,28 +1979,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2016,7 +2000,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2032,7 +2016,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2048,7 +2032,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2065,7 +2049,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2081,7 +2065,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2097,7 +2081,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2113,7 +2097,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2124,12 +2108,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2219,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/82e3d6db5a6eb654c3eda7a385fbd174ba11fc65?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/413569288aeead92c2806cb429e012131009467d?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 3b18075fc..1250ecc7e 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: 82e3d6db5a6eb654c3eda7a385fbd174ba11fc65 + executionResult: 413569288aeead92c2806cb429e012131009467d - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -417,6 +417,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -687,37 +718,6 @@ interactions: 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 included: - id: product_name type: label @@ -757,15 +757,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -781,15 +781,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1264,10 +1264,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1299,10 +1299,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1328,14 +1328,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1354,15 +1354,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1378,15 +1378,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1428,16 +1428,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1465,10 +1465,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1486,14 +1486,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1891,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1907,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1922,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1968,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,28 +1979,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2016,7 +2000,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2032,7 +2016,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2048,7 +2032,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2065,7 +2049,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2081,7 +2065,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2097,7 +2081,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2113,7 +2097,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2124,12 +2108,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2219,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/82e3d6db5a6eb654c3eda7a385fbd174ba11fc65?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/413569288aeead92c2806cb429e012131009467d?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 65666e3e1..6ec9ca4de 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: 1d76b74d4d069486ade05f1b63313def09776b2d + executionResult: 36caf8c7a8db0eb822fc9f50a04b199db0477334 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -320,6 +320,31 @@ 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: @@ -420,122 +445,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -690,83 +651,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -810,15 +810,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -834,15 +834,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1317,10 +1317,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1352,10 +1352,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1381,43 +1381,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1434,15 +1407,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1458,15 +1431,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1487,20 +1460,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1508,16 +1481,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1545,16 +1518,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1897,7 +1897,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1912,7 +1912,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1927,7 +1927,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1944,7 +1944,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1960,7 +1960,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1975,7 +1975,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1990,7 +1990,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2005,7 +2005,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2021,7 +2021,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2037,7 +2037,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2053,7 +2053,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2069,7 +2069,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2085,7 +2085,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2102,7 +2102,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2118,7 +2118,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2134,7 +2134,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2150,7 +2150,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2166,7 +2166,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2182,7 +2182,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2197,7 +2197,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2212,7 +2212,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2227,7 +2227,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2242,7 +2242,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2257,7 +2257,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2272,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/1d76b74d4d069486ade05f1b63313def09776b2d?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/36caf8c7a8db0eb822fc9f50a04b199db0477334?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 7cc5507a0..33f3fd484 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: 7d74dfe42ecc6b904904c1fd6879ededaaddb663 + executionResult: 9a116c1726458ad14235ba372765bb913e063b6a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -295,6 +295,31 @@ 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: @@ -395,122 +420,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -665,83 +626,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -785,15 +785,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -809,15 +809,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1292,10 +1292,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1327,10 +1327,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1356,14 +1356,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1382,15 +1382,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1406,15 +1406,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1456,16 +1456,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1493,10 +1493,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1514,14 +1514,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1872,7 +1872,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1887,7 +1887,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1902,7 +1902,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1919,7 +1919,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1935,7 +1935,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1950,7 +1950,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1965,7 +1965,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1980,7 +1980,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1996,7 +1996,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2012,7 +2012,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2028,7 +2028,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2044,7 +2044,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2060,7 +2060,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2077,7 +2077,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2093,7 +2093,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2109,7 +2109,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2125,7 +2125,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2141,7 +2141,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2157,7 +2157,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2172,7 +2172,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2187,7 +2187,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2202,7 +2202,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2217,7 +2217,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2232,7 +2232,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2247,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/7d74dfe42ecc6b904904c1fd6879ededaaddb663?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9a116c1726458ad14235ba372765bb913e063b6a?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 74c5252f7..51f79e17f 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: b3a12fbda05f6b66029ce604e1c3ae5ea14febc3 + executionResult: 31fb0b95cbd559ccdd7f2a5428a9bb1549dcc3b5 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -287,6 +287,31 @@ 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: @@ -387,122 +412,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -657,83 +618,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -777,15 +777,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -801,15 +801,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1284,10 +1284,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1319,10 +1319,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1348,43 +1348,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1401,15 +1374,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1425,15 +1398,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1454,20 +1427,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1475,16 +1448,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1512,16 +1485,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1864,7 +1864,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1879,7 +1879,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1894,7 +1894,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1911,7 +1911,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1927,7 +1927,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1942,7 +1942,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1957,7 +1957,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1972,7 +1972,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1988,7 +1988,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2004,7 +2004,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2020,7 +2020,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2036,7 +2036,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2052,7 +2052,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2069,7 +2069,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2085,7 +2085,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2101,7 +2101,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2117,7 +2117,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2133,7 +2133,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2149,7 +2149,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2164,7 +2164,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2179,7 +2179,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2194,7 +2194,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2209,7 +2209,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2224,7 +2224,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2239,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/b3a12fbda05f6b66029ce604e1c3ae5ea14febc3?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/31fb0b95cbd559ccdd7f2a5428a9bb1549dcc3b5?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 c994e0ba2..48fee0e3f 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: 72b74dc61a8a5f0411223166d98b46a3dc0fc756 + executionResult: aa3458556be7d37376a105af32e11068fa657706 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -307,6 +307,31 @@ 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: @@ -407,122 +432,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -677,83 +638,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -797,15 +797,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -821,15 +821,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1304,10 +1304,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1339,10 +1339,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1368,43 +1368,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1421,15 +1394,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1445,15 +1418,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1474,20 +1447,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1495,16 +1468,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1532,16 +1505,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1884,7 +1884,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1899,7 +1899,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1914,7 +1914,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1931,7 +1931,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1947,7 +1947,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1962,7 +1962,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1977,7 +1977,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1992,7 +1992,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2008,7 +2008,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2024,7 +2024,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2040,7 +2040,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2056,7 +2056,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2072,7 +2072,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2089,7 +2089,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2105,7 +2105,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2121,7 +2121,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2137,7 +2137,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2153,7 +2153,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2169,7 +2169,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2184,7 +2184,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2199,7 +2199,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2214,7 +2214,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2229,7 +2229,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2244,7 +2244,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2259,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/72b74dc61a8a5f0411223166d98b46a3dc0fc756?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/aa3458556be7d37376a105af32e11068fa657706?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 ae97eea6a..a4e543f48 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: 29d7c10ab72fe041b6daf90eedeb621055a40ea8 + executionResult: 2b9eca9d55879e978c1e65e184a1eab17d376f77 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -425,6 +425,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -695,37 +726,6 @@ interactions: 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 included: - id: product_name type: label @@ -765,15 +765,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -789,15 +789,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1272,10 +1272,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1307,10 +1307,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1336,43 +1336,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1389,15 +1362,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1413,15 +1386,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1442,20 +1415,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1463,16 +1436,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1500,16 +1473,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1852,7 +1852,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1867,7 +1867,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1882,7 +1882,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1899,7 +1899,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1915,7 +1915,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1930,7 +1930,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1945,7 +1945,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1960,7 +1960,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1976,7 +1976,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1987,28 +1987,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2024,7 +2008,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2040,7 +2024,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2056,7 +2040,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2073,7 +2057,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2089,7 +2073,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2105,7 +2089,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2121,7 +2105,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2132,12 +2116,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2152,7 +2152,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2167,7 +2167,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2182,7 +2182,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2197,7 +2197,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2212,7 +2212,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2227,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/29d7c10ab72fe041b6daf90eedeb621055a40ea8?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2b9eca9d55879e978c1e65e184a1eab17d376f77?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 e333ca92a..c178dfd53 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: ef1baa832b2668be0eee88b11aed6538d5e85178 + executionResult: e1f425a368f63014c1ca336b598093a300488d31 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -393,6 +393,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -663,37 +694,6 @@ interactions: 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 included: - id: product_name type: label @@ -733,15 +733,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -757,15 +757,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1240,10 +1240,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1275,10 +1275,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1304,14 +1304,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1330,15 +1330,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1354,15 +1354,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1404,16 +1404,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1441,10 +1441,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1462,14 +1462,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1820,7 +1820,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1835,7 +1835,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1850,7 +1850,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1867,7 +1867,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1883,7 +1883,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1898,7 +1898,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1913,7 +1913,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1928,7 +1928,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1944,7 +1944,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1955,28 +1955,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1992,7 +1976,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2008,7 +1992,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2024,7 +2008,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2041,7 +2025,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2057,7 +2041,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2073,7 +2057,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2089,7 +2073,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,12 +2084,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2120,7 +2120,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2135,7 +2135,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2150,7 +2150,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2165,7 +2165,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2180,7 +2180,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2195,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/ef1baa832b2668be0eee88b11aed6538d5e85178?offset=0&limit=2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e1f425a368f63014c1ca336b598093a300488d31?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 47fcd2388..404fe40c0 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: 1b8d9ad6cf23bbd84a3b8129dc4cd50fca13b047 + executionResult: 16c28326d0b711626fc10c395655b65a74df769d - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -417,6 +417,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -687,37 +718,6 @@ interactions: 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 included: - id: product_name type: label @@ -757,15 +757,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -781,15 +781,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1264,10 +1264,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1299,10 +1299,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1328,14 +1328,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1354,15 +1354,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1378,15 +1378,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1428,16 +1428,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1465,10 +1465,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1486,14 +1486,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1891,7 +1891,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1907,7 +1907,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1922,7 +1922,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1968,7 +1968,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,28 +1979,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2016,7 +2000,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2032,7 +2016,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2048,7 +2032,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2065,7 +2049,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2081,7 +2065,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2097,7 +2081,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2113,7 +2097,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2124,12 +2108,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2219,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/1b8d9ad6cf23bbd84a3b8129dc4cd50fca13b047?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/16c28326d0b711626fc10c395655b65a74df769d?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 26592da9f..333f165fa 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: 603250a8f4a3134b329500cbb80b5ab458ac884c + executionResult: 2dc4b87926e4a6dca07bd348d5b9e18ee5aded53 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -322,6 +322,31 @@ 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: @@ -422,122 +447,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -692,83 +653,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -812,15 +812,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -836,15 +836,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1319,10 +1319,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1354,10 +1354,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1383,43 +1383,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1436,15 +1409,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1460,15 +1433,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1489,20 +1462,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1510,16 +1483,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1547,16 +1520,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1899,7 +1899,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1914,7 +1914,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1929,7 +1929,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1946,7 +1946,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1962,7 +1962,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1977,7 +1977,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1992,7 +1992,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2007,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2023,7 +2023,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2039,7 +2039,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2055,7 +2055,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2071,7 +2071,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2087,7 +2087,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2104,7 +2104,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2120,7 +2120,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2136,7 +2136,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2152,7 +2152,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2168,7 +2168,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2184,7 +2184,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2199,7 +2199,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2214,7 +2214,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2229,7 +2229,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2244,7 +2244,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2259,7 +2259,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2274,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/603250a8f4a3134b329500cbb80b5ab458ac884c?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2dc4b87926e4a6dca07bd348d5b9e18ee5aded53?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 de4f268d3..34705d664 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: df797033691133a89cd512df90f7e6c83401fd1d + executionResult: 2fea0f7a896ce17184b63b7ca0f478b6eae05913 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -274,6 +274,31 @@ 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: @@ -374,122 +399,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -644,83 +605,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -764,15 +764,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -788,15 +788,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1271,10 +1271,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1306,10 +1306,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1335,43 +1335,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1388,15 +1361,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1412,15 +1385,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1441,20 +1414,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1462,16 +1435,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1499,16 +1472,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1851,7 +1851,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1866,7 +1866,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1881,7 +1881,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1898,7 +1898,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1914,7 +1914,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1929,7 +1929,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1944,7 +1944,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1959,7 +1959,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1975,7 +1975,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1991,7 +1991,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2007,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2023,7 +2023,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2039,7 +2039,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2056,7 +2056,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2072,7 +2072,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2088,7 +2088,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2104,7 +2104,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2120,7 +2120,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2136,7 +2136,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2151,7 +2151,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2166,7 +2166,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2181,7 +2181,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2196,7 +2196,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2211,7 +2211,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2226,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/df797033691133a89cd512df90f7e6c83401fd1d?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2fea0f7a896ce17184b63b7ca0f478b6eae05913?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 9fc8001fa..d01f95ec6 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: 1f59eeee5f158f5ebc010d35c65b50fc21e8df5f + executionResult: cb1229362d8a5b37f04d9f2a882ab7cdbaf55d00 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -265,6 +265,31 @@ 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: @@ -365,122 +390,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -635,83 +596,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -755,15 +755,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -779,15 +779,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1262,10 +1262,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1297,10 +1297,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1326,43 +1326,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1379,15 +1352,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1403,15 +1376,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1432,20 +1405,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1453,16 +1426,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1490,16 +1463,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1842,7 +1842,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1857,7 +1857,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1872,7 +1872,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1889,7 +1889,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1905,7 +1905,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1920,7 +1920,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1935,7 +1935,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1950,7 +1950,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1966,7 +1966,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1982,7 +1982,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1998,7 +1998,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2014,7 +2014,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2030,7 +2030,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2047,7 +2047,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2063,7 +2063,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2079,7 +2079,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2095,7 +2095,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2111,7 +2111,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2127,7 +2127,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2142,7 +2142,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2157,7 +2157,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2172,7 +2172,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2187,7 +2187,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2202,7 +2202,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2217,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/1f59eeee5f158f5ebc010d35c65b50fc21e8df5f?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cb1229362d8a5b37f04d9f2a882ab7cdbaf55d00?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 9fc8001fa..d01f95ec6 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: 1f59eeee5f158f5ebc010d35c65b50fc21e8df5f + executionResult: cb1229362d8a5b37f04d9f2a882ab7cdbaf55d00 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -265,6 +265,31 @@ 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: @@ -365,122 +390,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -635,83 +596,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -755,15 +755,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -779,15 +779,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1262,10 +1262,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1297,10 +1297,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1326,43 +1326,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1379,15 +1352,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1403,15 +1376,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1432,20 +1405,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1453,16 +1426,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1490,16 +1463,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1842,7 +1842,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1857,7 +1857,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1872,7 +1872,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1889,7 +1889,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1905,7 +1905,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1920,7 +1920,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1935,7 +1935,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1950,7 +1950,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1966,7 +1966,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1982,7 +1982,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1998,7 +1998,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2014,7 +2014,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2030,7 +2030,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2047,7 +2047,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2063,7 +2063,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2079,7 +2079,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2095,7 +2095,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2111,7 +2111,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2127,7 +2127,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2142,7 +2142,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2157,7 +2157,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2172,7 +2172,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2187,7 +2187,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2202,7 +2202,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2217,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/1f59eeee5f158f5ebc010d35c65b50fc21e8df5f?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cb1229362d8a5b37f04d9f2a882ab7cdbaf55d00?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 dda2506d0..36a5f9418 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: ada524f4b782ea67db643e77732938acc570c007 + executionResult: 3847ab4d023f4d1283bd0ae66f389639b1f3621a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -432,6 +432,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -702,37 +733,6 @@ interactions: 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 included: - id: product_name type: label @@ -772,15 +772,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -796,15 +796,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1279,10 +1279,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1314,10 +1314,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1343,43 +1343,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1396,15 +1369,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1420,15 +1393,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1449,20 +1422,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1470,16 +1443,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1507,16 +1480,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1859,7 +1859,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1874,7 +1874,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1889,7 +1889,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1906,7 +1906,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1922,7 +1922,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1937,7 +1937,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1952,7 +1952,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1967,7 +1967,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1983,7 +1983,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1994,28 +1994,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2031,7 +2015,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2047,7 +2031,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2063,7 +2047,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2080,7 +2064,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2096,7 +2080,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2112,7 +2096,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2128,7 +2112,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2139,12 +2123,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2159,7 +2159,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2174,7 +2174,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2189,7 +2189,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2204,7 +2204,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2219,7 +2219,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2234,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/ada524f4b782ea67db643e77732938acc570c007?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3847ab4d023f4d1283bd0ae66f389639b1f3621a?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 de4f268d3..34705d664 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: df797033691133a89cd512df90f7e6c83401fd1d + executionResult: 2fea0f7a896ce17184b63b7ca0f478b6eae05913 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -274,6 +274,31 @@ 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: @@ -374,122 +399,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -644,83 +605,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -764,15 +764,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -788,15 +788,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1271,10 +1271,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1306,10 +1306,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1335,43 +1335,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1388,15 +1361,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1412,15 +1385,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1441,20 +1414,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1462,16 +1435,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1499,16 +1472,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1851,7 +1851,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1866,7 +1866,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1881,7 +1881,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1898,7 +1898,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1914,7 +1914,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1929,7 +1929,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1944,7 +1944,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1959,7 +1959,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1975,7 +1975,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1991,7 +1991,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2007,7 +2007,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2023,7 +2023,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2039,7 +2039,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2056,7 +2056,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2072,7 +2072,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2088,7 +2088,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2104,7 +2104,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2120,7 +2120,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2136,7 +2136,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2151,7 +2151,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2166,7 +2166,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2181,7 +2181,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2196,7 +2196,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2211,7 +2211,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2226,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/df797033691133a89cd512df90f7e6c83401fd1d?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2fea0f7a896ce17184b63b7ca0f478b6eae05913?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 56793e41e..2b08516d1 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: 93698c00e97d191f3067cd1457fa3223f45191d8 + executionResult: ce1838342b2d2b11850932df643030be656f9923 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -380,6 +380,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -650,37 +681,6 @@ interactions: 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 included: - id: product_name type: label @@ -720,15 +720,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -744,15 +744,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1227,10 +1227,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1262,10 +1262,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1291,14 +1291,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1317,15 +1317,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1341,15 +1341,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1391,16 +1391,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1428,10 +1428,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1449,14 +1449,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1807,7 +1807,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1822,7 +1822,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1837,7 +1837,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1854,7 +1854,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1870,7 +1870,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1885,7 +1885,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1900,7 +1900,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1915,7 +1915,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1931,7 +1931,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1942,28 +1942,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1979,7 +1963,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1995,7 +1979,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2011,7 +1995,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2028,7 +2012,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2044,7 +2028,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2060,7 +2044,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2076,7 +2060,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2087,12 +2071,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2107,7 +2107,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2122,7 +2122,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2137,7 +2137,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2152,7 +2152,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2167,7 +2167,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2182,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/93698c00e97d191f3067cd1457fa3223f45191d8?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ce1838342b2d2b11850932df643030be656f9923?offset=0&limit=1 body: null headers: Accept: @@ -2381,7 +2381,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: daabdbb4f35942a7882895f5105faa328cf010c4 + executionResult: 5a6753bba63e87e6994a2edde9c8ecbad6144016 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -2656,6 +2656,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -2926,37 +2957,6 @@ interactions: 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 included: - id: product_name type: label @@ -2996,15 +2996,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -3020,15 +3020,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -3503,10 +3503,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -3538,10 +3538,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -3567,14 +3567,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -3593,15 +3593,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -3617,15 +3617,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -3667,16 +3667,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -3704,10 +3704,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -3725,14 +3725,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -4083,7 +4083,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -4098,7 +4098,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -4113,7 +4113,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -4130,7 +4130,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -4146,7 +4146,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -4161,7 +4161,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -4176,7 +4176,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -4191,7 +4191,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -4207,7 +4207,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -4218,28 +4218,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -4255,7 +4239,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -4271,7 +4255,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -4287,7 +4271,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -4304,7 +4288,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -4320,7 +4304,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -4336,7 +4320,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -4352,7 +4336,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -4363,12 +4347,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -4383,7 +4383,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -4398,7 +4398,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -4413,7 +4413,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -4428,7 +4428,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -4443,7 +4443,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -4458,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/daabdbb4f35942a7882895f5105faa328cf010c4?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a6753bba63e87e6994a2edde9c8ecbad6144016?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 a62e6a864..09725fdcd 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: eddea1f94c5085f2e989a0cc984f89a220a50b2f + executionResult: 846bf5e2792b2f4661048c0c9dcf9ba4bc970302 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -387,6 +387,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -657,37 +688,6 @@ interactions: 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 included: - id: product_name type: label @@ -727,15 +727,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -751,15 +751,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1234,10 +1234,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1269,10 +1269,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1298,14 +1298,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1324,15 +1324,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1348,15 +1348,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1398,16 +1398,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1435,10 +1435,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1456,14 +1456,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1814,7 +1814,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1829,7 +1829,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1861,7 +1861,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1877,7 +1877,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1892,7 +1892,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1907,7 +1907,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1922,7 +1922,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1938,7 +1938,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1949,28 +1949,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1986,7 +1970,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2002,7 +1986,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2018,7 +2002,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2035,7 +2019,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2051,7 +2035,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2067,7 +2051,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2083,7 +2067,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2094,12 +2078,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2114,7 +2114,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2129,7 +2129,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2159,7 +2159,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2174,7 +2174,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2189,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/eddea1f94c5085f2e989a0cc984f89a220a50b2f?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/846bf5e2792b2f4661048c0c9dcf9ba4bc970302?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 aefc459fc..d330d60e0 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: 4cb6edf20dee2a9cd98f727fb2e24818475caf4e + executionResult: 119b4eeb1db97baa108703bf62df90e56e4917be - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -407,6 +407,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -677,37 +708,6 @@ interactions: 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 included: - id: product_name type: label @@ -747,15 +747,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -771,15 +771,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1254,10 +1254,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1289,10 +1289,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1318,14 +1318,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1344,15 +1344,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1368,15 +1368,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1418,16 +1418,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1455,10 +1455,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1476,14 +1476,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1834,7 +1834,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1849,7 +1849,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1864,7 +1864,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1881,7 +1881,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1897,7 +1897,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1912,7 +1912,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1927,7 +1927,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1942,7 +1942,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1958,7 +1958,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1969,28 +1969,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2006,7 +1990,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2022,7 +2006,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2038,7 +2022,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2055,7 +2039,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2071,7 +2055,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2087,7 +2071,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2103,7 +2087,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2114,12 +2098,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2134,7 +2134,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2149,7 +2149,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2164,7 +2164,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2179,7 +2179,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2194,7 +2194,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2209,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/4cb6edf20dee2a9cd98f727fb2e24818475caf4e?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/119b4eeb1db97baa108703bf62df90e56e4917be?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 d2c3470f0..ce0f3f869 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: 93698c00e97d191f3067cd1457fa3223f45191d8 + executionResult: ce1838342b2d2b11850932df643030be656f9923 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -380,6 +380,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -650,37 +681,6 @@ interactions: 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 included: - id: product_name type: label @@ -720,15 +720,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -744,15 +744,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1227,10 +1227,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1262,10 +1262,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1291,14 +1291,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1317,15 +1317,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1341,15 +1341,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1391,16 +1391,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1428,10 +1428,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1449,14 +1449,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1807,7 +1807,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1822,7 +1822,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1837,7 +1837,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1854,7 +1854,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1870,7 +1870,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1885,7 +1885,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1900,7 +1900,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1915,7 +1915,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1931,7 +1931,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1947,7 +1947,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1963,7 +1963,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1979,7 +1979,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -1995,7 +1995,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2012,7 +2012,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2028,7 +2028,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2044,7 +2044,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2060,7 +2060,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2076,7 +2076,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2092,7 +2092,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2107,7 +2107,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2122,7 +2122,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2137,7 +2137,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2152,7 +2152,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2167,7 +2167,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2182,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/93698c00e97d191f3067cd1457fa3223f45191d8?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ce1838342b2d2b11850932df643030be656f9923?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 1246319fa..1043a7a7b 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: 62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4 + executionResult: e54d8d8404f784a75613b2e77f4520daf786f77e - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -404,6 +404,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -674,37 +705,6 @@ interactions: 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 included: - id: product_name type: label @@ -744,15 +744,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -768,15 +768,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1251,10 +1251,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1286,10 +1286,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1315,14 +1315,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1341,15 +1341,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1365,15 +1365,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1415,16 +1415,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1452,10 +1452,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1473,14 +1473,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1831,7 +1831,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1846,7 +1846,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1861,7 +1861,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1878,7 +1878,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1894,7 +1894,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1909,7 +1909,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1924,7 +1924,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1939,7 +1939,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1955,7 +1955,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1966,28 +1966,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2003,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2019,7 +2003,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2035,7 +2019,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2052,7 +2036,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2068,7 +2052,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2084,7 +2068,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2084,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2111,12 +2095,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2131,7 +2131,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2146,7 +2146,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2161,7 +2161,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2176,7 +2176,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2191,7 +2191,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2206,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/62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e54d8d8404f784a75613b2e77f4520daf786f77e?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 f460351de..47a5a0304 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: fe284976bad6f374ea80a6d414aa687444d400e5 + executionResult: 7f1a5c5dcd98ae20eb46b740f4cafc0a33a5b2fe - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -423,6 +423,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -693,37 +724,6 @@ interactions: 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 included: - id: product_name type: label @@ -763,15 +763,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -787,15 +787,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1270,10 +1270,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1305,10 +1305,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1334,14 +1334,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1360,15 +1360,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1384,15 +1384,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1434,16 +1434,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1471,10 +1471,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1492,14 +1492,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1850,7 +1850,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1865,7 +1865,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1880,7 +1880,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1897,7 +1897,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1913,7 +1913,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1928,7 +1928,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1943,7 +1943,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1958,7 +1958,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1974,7 +1974,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1985,28 +1985,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2022,7 +2006,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2038,7 +2022,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2054,7 +2038,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2071,7 +2055,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2087,7 +2071,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2103,7 +2087,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2119,7 +2103,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2130,12 +2114,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2150,7 +2150,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2165,7 +2165,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2180,7 +2180,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2195,7 +2195,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2210,7 +2210,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2225,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/fe284976bad6f374ea80a6d414aa687444d400e5?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7f1a5c5dcd98ae20eb46b740f4cafc0a33a5b2fe?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 59c037500..09725fdcd 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: eddea1f94c5085f2e989a0cc984f89a220a50b2f + executionResult: 846bf5e2792b2f4661048c0c9dcf9ba4bc970302 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -237,6 +237,31 @@ 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: @@ -337,122 +362,58 @@ interactions: origin: originType: NATIVE originId: demo - - id: date.day - type: attribute - attributes: - title: Date - Date - description: Date - tags: - - Date - granularity: DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.day - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.day - 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: - dataset: - data: - id: date - type: dataset - labels: + defaultView: 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.week + - id: geo__state__location type: label - links: - 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 + - id: state 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/state meta: origin: originType: NATIVE @@ -607,83 +568,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: type + - id: date.year type: attribute attributes: - title: Type - description: Type + title: Date - Year + description: Year tags: - - Campaign channels + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.year 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.year meta: origin: originType: NATIVE @@ -727,15 +727,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -751,15 +751,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1234,10 +1234,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1269,10 +1269,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1298,14 +1298,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1324,15 +1324,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1348,15 +1348,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1398,16 +1398,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1435,10 +1435,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1456,14 +1456,14 @@ interactions: relationships: attributes: data: - - id: date.month - type: attribute - id: date.day type: attribute - - id: date.quarter + - id: date.month type: attribute - id: date.week type: attribute + - id: date.quarter + type: attribute - id: date.year type: attribute links: @@ -1814,7 +1814,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1829,7 +1829,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1844,7 +1844,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1861,7 +1861,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1877,7 +1877,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1892,7 +1892,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1907,7 +1907,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1922,7 +1922,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1938,7 +1938,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1949,28 +1949,12 @@ interactions: origin: originType: NATIVE originId: demo - - id: revenue-outdoor - type: metric - attributes: - title: Revenue (Outdoor) - areRelationsValid: true - createdAt: 2024-01-11 10:30 - 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1986,7 +1970,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2002,7 +1986,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2018,7 +2002,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2035,7 +2019,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2051,7 +2035,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2067,7 +2051,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2083,7 +2067,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2094,12 +2078,28 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue-outdoor + type: metric + attributes: + title: Revenue (Outdoor) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + 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: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2114,7 +2114,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2129,7 +2129,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2144,7 +2144,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2159,7 +2159,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2174,7 +2174,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2189,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/eddea1f94c5085f2e989a0cc984f89a220a50b2f?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/846bf5e2792b2f4661048c0c9dcf9ba4bc970302?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 f762f43ce..1043a7a7b 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: 62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4 + executionResult: e54d8d8404f784a75613b2e77f4520daf786f77e - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -404,6 +404,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -674,37 +705,6 @@ interactions: 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 included: - id: product_name type: label @@ -744,15 +744,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -768,15 +768,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1251,10 +1251,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1286,10 +1286,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1315,43 +1315,16 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id 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.day - type: attribute - - id: date.quarter - type: attribute - - id: date.week - type: attribute - - id: date.year + - id: state type: attribute links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date + self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: origin: originType: NATIVE @@ -1368,15 +1341,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1392,15 +1365,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1421,20 +1394,20 @@ interactions: - order_lines areRelationsValid: true workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - name: wdf__state dataType: STRING + - name: wdf__region + 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: @@ -1442,16 +1415,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1479,16 +1452,43 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + 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 + tags: + - Date + areRelationsValid: true + type: DATE + relationships: + attributes: + data: + - id: date.day + type: attribute + - id: date.month + type: attribute + - id: date.week + 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 included: - id: campaign_name type: attribute @@ -1831,7 +1831,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -1846,7 +1846,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -1861,7 +1861,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -1878,7 +1878,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -1894,7 +1894,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -1909,7 +1909,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -1924,7 +1924,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -1939,7 +1939,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -1955,7 +1955,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1971,7 +1971,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -1987,7 +1987,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2003,7 +2003,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2019,7 +2019,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2036,7 +2036,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2052,7 +2052,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2068,7 +2068,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2084,7 +2084,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2100,7 +2100,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2116,7 +2116,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2131,7 +2131,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2146,7 +2146,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2161,7 +2161,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2176,7 +2176,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2191,7 +2191,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 10:30 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2206,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/62881b5fa7e7ae0a3bc4229a33987f16eca2d1a4?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e54d8d8404f784a75613b2e77f4520daf786f77e?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 15574dfe5..67646f850 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: 12f05b9f009d9007 + traceId: 1d87574d9d023fea - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -186,9 +186,9 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - name: Test type: BIGQUERY schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -281,9 +281,9 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - name: Test type: BIGQUERY schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: 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 c1a8d06a1..0fade8162 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,9 +82,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: 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 b5fc45e5f..52e2e2206 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 db18a0e37..cfd7a8a31 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 @@ -221,7 +221,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 + oauthClientId: f9f965bc-c0cd-4712-9c76-239cef3f0aea 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 d020bfe97..b761f4776 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 dc9705857..3fc6614a2 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 @@ -70,92 +70,18 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff + X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: string: data: - - id: revenue_per_dollar_spent - type: metric - attributes: - title: Revenue per Dollar Spent - areRelationsValid: true - createdAt: 2024-01-11 11:34 - content: - format: $#,##0.0 - maql: SELECT {metric/revenue} / {metric/campaign_spend} - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue_top_10 - type: metric - attributes: - title: Revenue / Top 10 - areRelationsValid: true - createdAt: 2024-01-11 11:34 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue_top_10_percent - type: metric - attributes: - title: Revenue / Top 10% - areRelationsValid: true - createdAt: 2024-01-11 11:34 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent - meta: - origin: - originType: NATIVE - originId: demo - - id: total_revenue - type: metric - attributes: - title: Total Revenue - areRelationsValid: true - createdAt: 2024-01-11 11:34 - content: - format: $#,##0 - maql: SELECT {metric/revenue} BY ALL OTHER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue - meta: - origin: - originType: NATIVE - originId: demo - - id: total_revenue-no_filters - type: metric - attributes: - title: Total Revenue (No Filters) - areRelationsValid: true - createdAt: 2024-01-11 11:34 - content: - format: $#,##0 - maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters - meta: - origin: - originType: NATIVE - originId: demo - id: amount_of_active_customers type: metric attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -170,7 +96,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -185,7 +111,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -202,7 +128,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -218,7 +144,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -233,7 +159,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -248,7 +174,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -263,7 +189,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -279,7 +205,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -295,7 +221,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -311,7 +237,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -327,7 +253,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -343,7 +269,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -360,7 +286,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -376,7 +302,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -392,7 +318,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -408,7 +334,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -424,7 +350,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -440,7 +366,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -450,6 +376,81 @@ interactions: origin: originType: NATIVE originId: demo + - id: revenue_per_dollar_spent + type: metric + attributes: + title: Revenue per Dollar Spent + areRelationsValid: true + createdAt: 2024-01-25 12:25 + content: + format: $#,##0.0 + maql: SELECT {metric/revenue} / {metric/campaign_spend} + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_per_dollar_spent + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue_top_10 + type: metric + attributes: + title: Revenue / Top 10 + areRelationsValid: true + createdAt: 2024-01-25 12:25 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10 + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue_top_10_percent + type: metric + attributes: + title: Revenue / Top 10% + areRelationsValid: true + createdAt: 2024-01-25 12:25 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue_top_10_percent + meta: + origin: + originType: NATIVE + originId: demo + - id: total_revenue + type: metric + attributes: + title: Total Revenue + areRelationsValid: true + createdAt: 2024-01-25 12:25 + content: + format: $#,##0 + maql: SELECT {metric/revenue} BY ALL OTHER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: total_revenue-no_filters + type: metric + attributes: + title: Total Revenue (No Filters) + areRelationsValid: true + createdAt: 2024-01-25 12:25 + content: + format: $#,##0 + maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/total_revenue-no_filters + meta: + origin: + originType: NATIVE + originId: demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 @@ -465,11 +466,11 @@ interactions: measure: item: identifier: - id: revenue_per_dollar_spent + id: amount_of_active_customers type: metric computeRatio: false filters: [] - localIdentifier: revenue_per_dollar_spent + localIdentifier: amount_of_active_customers resultSpec: dimensions: - itemIdentifiers: @@ -545,19 +546,19 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '276' + - '272' body: string: executionResponse: dimensions: - headers: - measureGroupHeaders: - - localIdentifier: revenue_per_dollar_spent - format: $#,##0.0 - name: Revenue per Dollar Spent + - localIdentifier: amount_of_active_customers + format: '#,##0' + name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: dc98f372e5c86230c5c87b7adf441770e8022d01 + executionResult: 1732b80ba6910c9f60444909efc35a49a7a2815e - request: method: POST uri: http://localhost:3000/api/v1/actions/dataSources/demo-test-ds/uploadNotification @@ -639,11 +640,11 @@ interactions: measure: item: identifier: - id: revenue_per_dollar_spent + id: amount_of_active_customers type: metric computeRatio: false filters: [] - localIdentifier: revenue_per_dollar_spent + localIdentifier: amount_of_active_customers resultSpec: dimensions: - itemIdentifiers: @@ -719,16 +720,16 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '276' + - '272' body: string: executionResponse: dimensions: - headers: - measureGroupHeaders: - - localIdentifier: revenue_per_dollar_spent - format: $#,##0.0 - name: Revenue per Dollar Spent + - localIdentifier: amount_of_active_customers + format: '#,##0' + name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: d88e737e6ad4b91196729bc8036162b0e739280b + executionResult: bf04570878aab933ca3fa12804a1b35e5c906890 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 831cafa41..e7e50cc00 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 42b7a1e4f..2ff7fa7f4 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 @@ -335,7 +335,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 + oauthClientId: f9f965bc-c0cd-4712-9c76-239cef3f0aea links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -487,6 +487,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 + oauthClientId: f9f965bc-c0cd-4712-9c76-239cef3f0aea links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml index 65cf66c95..62fb3d926 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_test_declarative_data_sources.yaml @@ -260,5 +260,5 @@ interactions: body: string: queryDurationMillis: - simpleSelect: 4 + simpleSelect: 1 successful: true diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml index d19acadd7..f49379e7f 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: abc61e4f7dadb88f + traceId: d33fa2b9d4542aa6 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,9 +177,9 @@ interactions: enableCaching: true cachePath: - $scratch - name: Dremio type: DREMIO schema: '' + name: Dremio links: self: http://localhost:3000/api/v1/entities/dataSources/dremio - request: @@ -264,9 +264,9 @@ interactions: enableCaching: true cachePath: - $scratch - name: Dremio type: DREMIO schema: '' + name: Dremio links: self: http://localhost:3000/api/v1/entities/dataSources/dremio - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml index a95056a64..933f6c650 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml @@ -82,9 +82,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4332df744ef375a1 + traceId: 9e0e60be06d74b72 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,9 +265,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -352,9 +352,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -439,9 +439,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -535,9 +535,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -622,9 +622,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml index dcf136c76..ec1bcb4a4 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: ec5812aba536e60d + traceId: 57efd61b5a9ffd0c - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,9 +173,9 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - name: Test2 type: REDSHIFT schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -258,9 +258,9 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - name: Test2 type: REDSHIFT schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml index 9a2e024c9..85b2213d4 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: bde7a329d4e99453 + traceId: 2e954e5cc3a296ac - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,9 +177,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: SNOWFLAKE schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -264,9 +264,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: SNOWFLAKE schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: 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 aa266806a..6a80e5ae0 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,9 +82,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 1e77d03b429c40a0 + traceId: e4f0243e827975fd - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,9 +265,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -352,9 +352,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -439,9 +439,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -537,9 +537,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -622,9 +622,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds - id: test @@ -633,9 +633,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test links: @@ -788,9 +788,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml index 170705461..f464cfabf 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: 70eb0ee268478e7b + traceId: 6d22dde34e7ca513 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,9 +173,9 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - name: Test2 type: VERTICA schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -258,9 +258,9 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - name: Test2 type: VERTICA schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml index 6dd533ef4..d9aed0a18 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: f6a72970a24a5e3e + traceId: 40f378fcf8469a8c - 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 a376a0591..740531f7b 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: 362074332110f1fa + traceId: 8691b5a951493c25 - 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 35adfcb7a..98a44340f 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: 08a80ac49e6dcc54 + traceId: a0acecc246145d32 - 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: 77beb5adf8898265 + traceId: 75e50579937507b6 - 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 f2fe0f5ef..8f3d329ee 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: 6f96115f8c9eb66c + traceId: 027c53f7ed782862 - 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 0287cbbf2..3b8dc0478 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: 50643ef3a1f787f2 + traceId: 24b6219940be58b3 - 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: bdb306e49a1440ce + traceId: a99b0ca531f4206d - 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 9e5af4fd3..2861d83d5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml @@ -151,6 +151,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 + oauthClientId: f9f965bc-c0cd-4712-9c76-239cef3f0aea 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 10b59f026..614c932e5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml @@ -151,7 +151,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -166,7 +166,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 headers: Accept: - application/vnd.gooddata.api+json @@ -246,7 +246,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -399,7 +399,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -552,7 +552,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -566,7 +566,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 headers: Accept: - application/vnd.gooddata.api+json @@ -645,7 +645,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -797,6 +797,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 9fe23be18..53996584e 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: be8cfd29c8b0657b + traceId: 1926888f3fbdc50f - 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 98f7c2ba4..467927481 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml @@ -151,7 +151,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -303,7 +303,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -317,7 +317,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 headers: Accept: - application/vnd.gooddata.api+json @@ -396,7 +396,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -548,7 +548,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -700,7 +700,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -714,7 +714,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 headers: Accept: - application/vnd.gooddata.api+json @@ -793,7 +793,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -945,6 +945,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 72d963690..1483b730d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml @@ -151,7 +151,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 + oauthClientId: f9f965bc-c0cd-4712-9c76-239cef3f0aea links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -303,7 +303,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 858c5858-c2cf-4e8b-bfde-e3e01086e909 + oauthClientId: f9f965bc-c0cd-4712-9c76-239cef3f0aea links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -797,7 +797,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -949,6 +949,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default 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 b8e1b48db..2f57015b1 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: - - '37194' + - '37056' body: string: analytics: @@ -292,7 +292,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -339,7 +339,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -489,7 +489,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -501,7 +501,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -511,7 +511,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -560,7 +560,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -569,7 +569,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -579,7 +579,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -589,7 +589,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -599,7 +599,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -608,7 +608,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -617,7 +617,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -627,7 +627,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: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -637,7 +637,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: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -647,7 +647,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: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -657,7 +657,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: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -667,7 +667,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -677,7 +677,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -687,7 +687,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -698,7 +698,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -708,7 +708,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -718,7 +718,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -728,7 +728,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -737,7 +737,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -746,7 +746,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -755,7 +755,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -764,7 +764,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -773,7 +773,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -782,7 +782,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -847,7 +847,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -895,9 +895,9 @@ interactions: identifier: id: date type: dataset - from: -11 + from: -12 granularity: GDC.time.month - to: 0 + to: -1 properties: controls: colorMapping: @@ -923,7 +923,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1002,7 +1002,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1061,7 +1061,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1118,7 +1118,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1171,7 +1171,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1246,7 +1246,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1303,7 +1303,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1402,7 +1402,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1458,7 +1458,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1497,7 +1497,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1553,7 +1553,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1621,7 +1621,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1678,7 +1678,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -1735,7 +1735,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 11:34 + createdAt: 2024-01-25 12:25 createdBy: id: admin type: user @@ -2052,21 +2052,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 f6c8e6df7..5d1b6eb3d 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: e9f69da527c5ae16 + traceId: 8058b9a5941a4d95 - 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -506,7 +492,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -694,7 +694,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 0ea0b0835..1e5c58240 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 @@ -81,6 +81,12 @@ interactions: attributes: {} links: self: http://localhost:3000/api/v1/entities/userGroups/adminGroup + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: adminQA1Group type: userGroup attributes: {} @@ -91,12 +97,6 @@ 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: @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: ccfe80c33cd4794a + traceId: 84f373a46c78b155 - request: method: POST uri: http://localhost:3000/api/v1/entities/userGroups @@ -459,22 +459,17 @@ 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: {} links: self: http://localhost:3000/api/v1/entities/userGroups/adminGroup + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: adminQA1Group type: userGroup attributes: {} @@ -485,12 +480,6 @@ 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: @@ -502,6 +491,17 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/userGroups/visitorsGroup + - id: newUserGroup + type: userGroup + attributes: + name: NEWUSERGROUP + relationships: + parents: + data: + - id: demoGroup + type: userGroup + links: + self: http://localhost:3000/api/v1/entities/userGroups/newUserGroup included: - id: adminGroup type: userGroup @@ -663,6 +663,12 @@ interactions: attributes: {} links: self: http://localhost:3000/api/v1/entities/userGroups/adminGroup + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: adminQA1Group type: userGroup attributes: {} @@ -673,12 +679,6 @@ 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/users/get_declarative_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml index e7fe36d30..afb10e1de 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - 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 89704e732..571e0c012 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - 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 d53887f46..4e0cb816a 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: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml b/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml index 3829a42fa..cb86f4690 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/list_user_groups.yaml @@ -81,6 +81,12 @@ interactions: attributes: {} links: self: http://localhost:3000/api/v1/entities/userGroups/adminGroup + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: adminQA1Group type: userGroup attributes: {} @@ -91,12 +97,6 @@ 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/users/list_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml index cc6aa2349..ee8d1ccfc 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 506175499..16209ce7b 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -267,7 +267,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -288,7 +288,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -599,7 +599,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -878,14 +878,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 08a2ed90d..d02c1a332 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -185,7 +185,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -196,7 +196,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -435,7 +435,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -636,14 +636,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 d6fc95d8f..a85fa7d23 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -202,7 +202,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -213,7 +213,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -524,7 +524,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -776,14 +776,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 8e23ecae0..9b1d39fbb 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -277,7 +277,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -288,7 +288,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -726,14 +726,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 0b720f41b..69e0393d5 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -172,17 +172,6 @@ interactions: body: string: data: - - id: demo2 - type: user - attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs - 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -458,14 +458,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -484,14 +484,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 00e775bed..2544ed839 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -192,7 +192,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -213,7 +213,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authenticationId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs relationships: userGroups: data: @@ -404,14 +404,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -581,14 +581,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -624,14 +624,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 25373dabb..24f57c321 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: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -487,6 +487,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 e6226492b..b974fb0c8 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -343,7 +343,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -495,6 +495,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 bf3ba223c..d786d765e 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + - authId: CiRlZjExYjZiNC04ZDMyLTQ4OTItODNhNC1jMDNlNmJmZTE2NTESBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + - authId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -377,7 +377,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -529,6 +529,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 d53887f46..4e0cb816a 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: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 d53887f46..4e0cb816a 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: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 d53887f46..4e0cb816a 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: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 d53887f46..4e0cb816a 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: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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 2ec681c9e..220706e8f 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: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -171,7 +171,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -533,7 +533,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 111495cd830c9af3 + traceId: 381a6255f502a169 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -542,7 +542,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + authenticationId: CiQ1OTA1YjEyNy1mN2M5LTQ0ZjEtYmM5NS1kNmEyZjA3YTAzODgSBWxvY2Fs relationships: userGroups: data: @@ -623,7 +623,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs + 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: CiRmNjdjZjVmZi0yOTMxLTRmZjQtOTVkYS01YmM1YzJmMGNkNjcSBWxvY2Fs - 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + 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 84b7aba16..a65b337a3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/update_user_group.yaml @@ -161,6 +161,12 @@ interactions: attributes: {} links: self: http://localhost:3000/api/v1/entities/userGroups/adminGroup + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup - id: adminQA1Group type: userGroup attributes: {} @@ -171,12 +177,6 @@ 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: @@ -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: {} @@ -726,6 +720,12 @@ interactions: type: userGroup links: self: http://localhost:3000/api/v1/entities/userGroups/visitorsGroup + - id: demoGroup + type: userGroup + attributes: + name: demo group + links: + self: http://localhost:3000/api/v1/entities/userGroups/demoGroup included: - id: adminGroup type: userGroup 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 f670b20ca..396a6fd08 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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -170,7 +170,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -320,7 +320,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -332,7 +332,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -342,7 +342,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -391,7 +391,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -400,7 +400,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -410,7 +410,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -420,7 +420,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -430,7 +430,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -439,7 +439,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -448,7 +448,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -458,7 +458,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -468,7 +468,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -478,7 +478,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -488,7 +488,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -498,7 +498,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -508,7 +508,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -518,7 +518,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -529,7 +529,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -539,7 +539,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -549,7 +549,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -559,7 +559,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -568,7 +568,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -577,7 +577,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -586,7 +586,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -595,7 +595,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -604,7 +604,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -613,7 +613,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -678,7 +678,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -754,7 +754,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -833,7 +833,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -892,7 +892,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -949,7 +949,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1002,7 +1002,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1077,7 +1077,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1134,7 +1134,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1233,7 +1233,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1289,7 +1289,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1328,7 +1328,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1384,7 +1384,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1452,7 +1452,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1509,7 +1509,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1566,7 +1566,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1697,7 +1697,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1740,7 +1740,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1890,7 +1890,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1902,7 +1902,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1912,7 +1912,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1961,7 +1961,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1970,7 +1970,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1980,7 +1980,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1990,7 +1990,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2000,7 +2000,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2009,7 +2009,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2018,7 +2018,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2028,7 +2028,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2038,7 +2038,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2048,7 +2048,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2058,7 +2058,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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2068,7 +2068,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2078,7 +2078,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2088,7 +2088,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2099,7 +2099,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2109,7 +2109,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2119,7 +2119,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2129,7 +2129,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2138,7 +2138,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2147,7 +2147,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2156,7 +2156,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2165,7 +2165,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2174,7 +2174,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2183,7 +2183,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2248,7 +2248,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2324,7 +2324,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2403,7 +2403,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2462,7 +2462,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2519,7 +2519,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2572,7 +2572,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2647,7 +2647,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2704,7 +2704,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2803,7 +2803,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2859,7 +2859,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2898,7 +2898,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2954,7 +2954,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3022,7 +3022,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3079,7 +3079,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3136,7 +3136,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 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 f11fbf2d0..2fc5750e1 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml @@ -76,364 +76,351 @@ interactions: body: string: data: - - id: campaign_channel_id + - id: products.category type: attribute attributes: - title: Campaign channel id - description: Campaign channel id + title: Category + description: Category tags: - - Campaign channels + - Products areRelationsValid: true - sourceColumn: campaign_channel_id + sourceColumn: category sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: products type: dataset labels: data: - - id: campaign_channel_id + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: campaign_channels.category + - id: date.minute type: attribute attributes: - title: Category - description: Category + title: Date - Minute + description: Minute tags: - - Campaign channels + - Date + granularity: MINUTE areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: campaign_channels.category + - id: date.minute 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.minute meta: origin: originType: NATIVE originId: demo - - id: type + - id: date.hour type: attribute attributes: - title: Type - description: Type + title: Date - Hour + description: Hour tags: - - Campaign channels + - Date + granularity: HOUR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.hour 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.hour meta: origin: originType: NATIVE originId: demo - - id: campaign_id + - id: date.day type: attribute attributes: - title: Campaign id - description: Campaign id + title: Date - Date + description: Date tags: - - Campaigns + - Date + granularity: DAY areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT relationships: dataset: data: - id: campaigns + id: date type: dataset labels: data: - - id: campaign_id + - id: date.day 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.day meta: origin: originType: NATIVE originId: demo - - id: campaign_name + - id: date.week type: attribute attributes: - title: Campaign name - description: Campaign name + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Campaigns + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING relationships: dataset: data: - id: campaigns + id: date type: dataset labels: data: - - id: campaign_name + - id: date.week 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.week meta: origin: originType: NATIVE originId: demo - - id: customer_id + - id: date.month type: attribute attributes: - title: Customer id - description: Customer id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Customers + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: customer_id + - id: date.month 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.month meta: origin: originType: NATIVE originId: demo - - id: customer_name + - id: date.quarter type: attribute attributes: - title: Customer name - description: Customer name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Customers + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: customer_name + - id: date.quarter 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.quarter meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.year type: attribute attributes: - title: Region - description: Region + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.year 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.year meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.minuteOfHour type: attribute attributes: - title: Order id - description: Order id + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Order lines + - Date + granularity: MINUTE_OF_HOUR areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.minuteOfHour 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.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.hourOfDay type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Order lines + - Date + granularity: HOUR_OF_DAY 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.hourOfDay 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.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.dayOfWeek type: attribute attributes: - title: Order status - description: Order status + 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_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.dayOfWeek 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.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.dayOfMonth type: attribute attributes: - title: Product id - description: Product id + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Products + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.dayOfMonth 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.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.dayOfYear type: attribute attributes: - title: Product name - description: Product name + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Products + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.dayOfYear 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.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.weekOfYear type: attribute attributes: - title: Category - description: Category + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Products + - Date + granularity: WEEK_OF_YEAR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.weekOfYear 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.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: date.monthOfYear type: attribute attributes: - title: Date - Minute - description: Minute + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - Date - granularity: MINUTE + granularity: MONTH_OF_YEAR areRelationsValid: true relationships: dataset: @@ -442,22 +429,22 @@ interactions: type: dataset labels: data: - - id: date.minute + - id: date.monthOfYear 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.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: date.quarterOfYear type: attribute attributes: - title: Date - Hour - description: Hour + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - Date - granularity: HOUR + granularity: QUARTER_OF_YEAR areRelationsValid: true relationships: dataset: @@ -466,353 +453,366 @@ interactions: type: dataset labels: data: - - id: date.hour + - id: date.quarterOfYear 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.quarterOfYear meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: campaign_channel_id type: attribute attributes: - title: Date - Date - description: Date + title: Campaign channel id + description: Campaign channel id tags: - - Date - granularity: DAY + - Campaign channels areRelationsValid: true + sourceColumn: campaign_channel_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.day + - id: campaign_channel_id 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/campaign_channel_id meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: campaign_channels.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Campaign channels areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.week + - id: campaign_channels.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/campaign_channels.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: type type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Type + description: Type tags: - - Date - granularity: MONTH + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.month + - id: type 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/type 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: dataset: data: - id: date + id: campaigns type: dataset 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: dataset: data: - id: date + id: campaigns type: dataset 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: dataset: data: - id: date + id: customers type: dataset 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: dataset: data: - id: date + id: customers type: dataset 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: region type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Region + description: Region tags: - - Date - granularity: DAY_OF_WEEK + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.dayOfWeek + - id: region 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/region meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: state type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: State + description: State tags: - - Date - granularity: DAY_OF_MONTH + - 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.dayOfMonth + - id: geo__state__location + type: label + - id: state 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/state meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: order_id type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Order id + description: Order id tags: - - Date - granularity: DAY_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfYear + - id: order_id 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/order_id meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: order_line_id type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Order line id + description: Order line id tags: - - Date - granularity: WEEK_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.weekOfYear + - id: order_line_id 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/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: order_status type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order status + description: Order status tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.monthOfYear + - id: order_status 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/order_status meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: product_id type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Product id + description: Product id tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: product_id 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/product_id meta: origin: originType: NATIVE originId: demo - - id: state + - id: product_name type: attribute attributes: - title: State - description: State + title: Product name + description: Product name tags: - - Customers + - Products areRelationsValid: true - sourceColumn: state + sourceColumn: product_name sourceColumnDataType: STRING relationships: - defaultView: - data: - id: state - type: label dataset: data: - id: customers + id: products type: dataset labels: data: - - id: state - type: label - - id: geo__state__location + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE @@ -878,15 +878,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -902,15 +902,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -936,14 +936,14 @@ interactions: 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 links: @@ -1474,10 +1474,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1509,10 +1509,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1538,14 +1538,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1564,15 +1564,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1588,15 +1588,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1638,16 +1638,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1675,10 +1675,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1697,35 +1697,35 @@ interactions: relationships: attributes: data: - - id: date.monthOfYear + - id: date.day type: attribute - - id: date.hourOfDay + - id: date.week type: attribute - id: date.quarter type: attribute + - id: date.year + type: attribute + - id: date.monthOfYear + type: attribute - id: date.month type: attribute - - id: date.minuteOfHour + - id: date.weekOfYear type: attribute - - id: date.dayOfWeek + - id: date.minute type: attribute - - id: date.day + - id: date.hourOfDay + type: attribute + - id: date.dayOfYear type: attribute - id: date.quarterOfYear type: attribute - - id: date.year + - id: date.minuteOfHour type: attribute - id: date.dayOfMonth type: attribute - id: date.hour type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.minute - type: attribute - - id: date.week + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2170,51 +2170,17 @@ interactions: body: string: data: - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: $#,##0 - maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} - IN ("Returned", "Canceled")) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Clothing") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-electronic + - id: amount_of_active_customers type: metric attributes: - title: Revenue (Electronic) + title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") + format: '#,##0' + maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers meta: origin: originType: NATIVE @@ -2224,7 +2190,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2239,7 +2205,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2256,7 +2222,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2272,7 +2238,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2287,7 +2253,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2302,7 +2268,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2317,7 +2283,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2333,7 +2299,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2349,7 +2315,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2360,17 +2326,99 @@ interactions: origin: originType: NATIVE originId: demo - - id: amount_of_active_customers + - id: percent_revenue_from_top_10_products type: metric attributes: - title: '# of Active Customers' + title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: - format: '#,##0' - maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) + format: '#,##0.0%' + maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ + \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_in_category + type: metric + attributes: + title: '% Revenue in Category' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, + ALL OTHER) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL + {attribute/product_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue + type: metric + attributes: + title: Revenue + description: '' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} + IN ("Returned", "Canceled")) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Clothing") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ( "Electronics") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic meta: origin: originType: NATIVE @@ -2380,7 +2428,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2396,7 +2444,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2412,7 +2460,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2427,7 +2475,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2442,7 +2490,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2457,7 +2505,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2472,7 +2520,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2487,7 +2535,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2497,54 +2545,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: percent_revenue_from_top_10_products - type: metric - attributes: - title: '% Revenue from Top 10 Products' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ - \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_in_category - type: metric - attributes: - title: '% Revenue in Category' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, - ALL OTHER) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL - {attribute/product_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product - meta: - origin: - originType: NATIVE - originId: demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 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 382ca035e..1beab03b6 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 @@ -76,364 +76,351 @@ interactions: body: string: data: - - id: campaign_channel_id + - id: products.category type: attribute attributes: - title: Campaign channel id - description: Campaign channel id + title: Category + description: Category tags: - - Campaign channels + - Products areRelationsValid: true - sourceColumn: campaign_channel_id + sourceColumn: category sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: products type: dataset labels: data: - - id: campaign_channel_id + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: campaign_channels.category + - id: date.minute type: attribute attributes: - title: Category - description: Category + title: Date - Minute + description: Minute tags: - - Campaign channels + - Date + granularity: MINUTE areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: campaign_channels.category + - id: date.minute 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.minute meta: origin: originType: NATIVE originId: demo - - id: type + - id: date.hour type: attribute attributes: - title: Type - description: Type + title: Date - Hour + description: Hour tags: - - Campaign channels + - Date + granularity: HOUR areRelationsValid: true - sourceColumn: type - sourceColumnDataType: STRING relationships: dataset: data: - id: campaign_channels + id: date type: dataset labels: data: - - id: type + - id: date.hour 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.hour meta: origin: originType: NATIVE originId: demo - - id: campaign_id + - id: date.day type: attribute attributes: - title: Campaign id - description: Campaign id + title: Date - Date + description: Date tags: - - Campaigns + - Date + granularity: DAY areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT relationships: dataset: data: - id: campaigns + id: date type: dataset labels: data: - - id: campaign_id + - id: date.day 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.day meta: origin: originType: NATIVE originId: demo - - id: campaign_name + - id: date.week type: attribute attributes: - title: Campaign name - description: Campaign name + title: Date - Week/Year + description: Week and Year (W52/2020) tags: - - Campaigns + - Date + granularity: WEEK areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING relationships: dataset: data: - id: campaigns + id: date type: dataset labels: data: - - id: campaign_name + - id: date.week 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.week meta: origin: originType: NATIVE originId: demo - - id: customer_id + - id: date.month type: attribute attributes: - title: Customer id - description: Customer id + title: Date - Month/Year + description: Month and Year (12/2020) tags: - - Customers + - Date + granularity: MONTH areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: customer_id + - id: date.month 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.month meta: origin: originType: NATIVE originId: demo - - id: customer_name + - id: date.quarter type: attribute attributes: - title: Customer name - description: Customer name + title: Date - Quarter/Year + description: Quarter and Year (Q1/2020) tags: - - Customers + - Date + granularity: QUARTER areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: customer_name + - id: date.quarter 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.quarter meta: origin: originType: NATIVE originId: demo - - id: region + - id: date.year type: attribute attributes: - title: Region - description: Region + title: Date - Year + description: Year tags: - - Customers + - Date + granularity: YEAR areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING relationships: dataset: data: - id: customers + id: date type: dataset labels: data: - - id: region + - id: date.year 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.year meta: origin: originType: NATIVE originId: demo - - id: order_id + - id: date.minuteOfHour type: attribute attributes: - title: Order id - description: Order id + title: Date - Minute of Hour + description: Generic Minute of the Hour(MI1-MI60) tags: - - Order lines + - Date + granularity: MINUTE_OF_HOUR areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_id + - id: date.minuteOfHour 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.minuteOfHour meta: origin: originType: NATIVE originId: demo - - id: order_line_id + - id: date.hourOfDay type: attribute attributes: - title: Order line id - description: Order line id + title: Date - Hour of Day + description: Generic Hour of the Day(H1-H24) tags: - - Order lines + - Date + granularity: HOUR_OF_DAY 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.hourOfDay 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.hourOfDay meta: origin: originType: NATIVE originId: demo - - id: order_status + - id: date.dayOfWeek type: attribute attributes: - title: Order status - description: Order status + 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_status - sourceColumnDataType: STRING relationships: dataset: data: - id: order_lines + id: date type: dataset labels: data: - - id: order_status + - id: date.dayOfWeek 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.dayOfWeek meta: origin: originType: NATIVE originId: demo - - id: product_id + - id: date.dayOfMonth type: attribute attributes: - title: Product id - description: Product id + title: Date - Day of Month + description: Generic Day of the Month (D1-D31) tags: - - Products + - Date + granularity: DAY_OF_MONTH areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_id + - id: date.dayOfMonth 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.dayOfMonth meta: origin: originType: NATIVE originId: demo - - id: product_name + - id: date.dayOfYear type: attribute attributes: - title: Product name - description: Product name + title: Date - Day of Year + description: Generic Day of the Year (D1-D366) tags: - - Products + - Date + granularity: DAY_OF_YEAR areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: product_name + - id: date.dayOfYear 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.dayOfYear meta: origin: originType: NATIVE originId: demo - - id: products.category + - id: date.weekOfYear type: attribute attributes: - title: Category - description: Category + title: Date - Week of Year + description: Generic Week (W1-W53) tags: - - Products + - Date + granularity: WEEK_OF_YEAR areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING relationships: dataset: data: - id: products + id: date type: dataset labels: data: - - id: products.category + - id: date.weekOfYear 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.weekOfYear meta: origin: originType: NATIVE originId: demo - - id: date.minute + - id: date.monthOfYear type: attribute attributes: - title: Date - Minute - description: Minute + title: Date - Month of Year + description: Generic Month (M1-M12) tags: - Date - granularity: MINUTE + granularity: MONTH_OF_YEAR areRelationsValid: true relationships: dataset: @@ -442,22 +429,22 @@ interactions: type: dataset labels: data: - - id: date.minute + - id: date.monthOfYear 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.monthOfYear meta: origin: originType: NATIVE originId: demo - - id: date.hour + - id: date.quarterOfYear type: attribute attributes: - title: Date - Hour - description: Hour + title: Date - Quarter of Year + description: Generic Quarter (Q1-Q4) tags: - Date - granularity: HOUR + granularity: QUARTER_OF_YEAR areRelationsValid: true relationships: dataset: @@ -466,353 +453,366 @@ interactions: type: dataset labels: data: - - id: date.hour + - id: date.quarterOfYear 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.quarterOfYear meta: origin: originType: NATIVE originId: demo - - id: date.day + - id: campaign_channel_id type: attribute attributes: - title: Date - Date - description: Date + title: Campaign channel id + description: Campaign channel id tags: - - Date - granularity: DAY + - Campaign channels areRelationsValid: true + sourceColumn: campaign_channel_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.day + - id: campaign_channel_id 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/campaign_channel_id meta: origin: originType: NATIVE originId: demo - - id: date.week + - id: campaign_channels.category type: attribute attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) + title: Category + description: Category tags: - - Date - granularity: WEEK + - Campaign channels areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.week + - id: campaign_channels.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/campaign_channels.category meta: origin: originType: NATIVE originId: demo - - id: date.month + - id: type type: attribute attributes: - title: Date - Month/Year - description: Month and Year (12/2020) + title: Type + description: Type tags: - - Date - granularity: MONTH + - Campaign channels areRelationsValid: true + sourceColumn: type + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: campaign_channels type: dataset labels: data: - - id: date.month + - id: type 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/type 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: dataset: data: - id: date + id: campaigns type: dataset 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: dataset: data: - id: date + id: campaigns type: dataset 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: dataset: data: - id: date + id: customers type: dataset 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: dataset: data: - id: date + id: customers type: dataset 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: region type: attribute attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) + title: Region + description: Region tags: - - Date - granularity: DAY_OF_WEEK + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.dayOfWeek + - id: region 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/region meta: origin: originType: NATIVE originId: demo - - id: date.dayOfMonth + - id: state type: attribute attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) + title: State + description: State tags: - - Date - granularity: DAY_OF_MONTH + - 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.dayOfMonth + - id: geo__state__location + type: label + - id: state 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/state meta: origin: originType: NATIVE originId: demo - - id: date.dayOfYear + - id: order_id type: attribute attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) + title: Order id + description: Order id tags: - - Date - granularity: DAY_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.dayOfYear + - id: order_id 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/order_id meta: origin: originType: NATIVE originId: demo - - id: date.weekOfYear + - id: order_line_id type: attribute attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) + title: Order line id + description: Order line id tags: - - Date - granularity: WEEK_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_line_id + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.weekOfYear + - id: order_line_id 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/order_line_id meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: order_status type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Order status + description: Order status tags: - - Date - granularity: MONTH_OF_YEAR + - Order lines areRelationsValid: true + sourceColumn: order_status + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: order_lines type: dataset labels: data: - - id: date.monthOfYear + - id: order_status 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/order_status meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: product_id type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Product id + description: Product id tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_id + sourceColumnDataType: INT relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: product_id 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/product_id meta: origin: originType: NATIVE originId: demo - - id: state + - id: product_name type: attribute attributes: - title: State - description: State + title: Product name + description: Product name tags: - - Customers + - Products areRelationsValid: true - sourceColumn: state + sourceColumn: product_name sourceColumnDataType: STRING relationships: - defaultView: - data: - id: state - type: label dataset: data: - id: customers + id: products type: dataset labels: data: - - id: state - type: label - - id: geo__state__location + - id: product_name type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name meta: origin: originType: NATIVE @@ -878,15 +878,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -902,15 +902,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -936,14 +936,14 @@ interactions: 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 links: @@ -1474,10 +1474,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -1509,10 +1509,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -1538,14 +1538,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1564,15 +1564,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1588,15 +1588,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -1638,16 +1638,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -1675,10 +1675,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1697,35 +1697,35 @@ interactions: relationships: attributes: data: - - id: date.monthOfYear + - id: date.day type: attribute - - id: date.hourOfDay + - id: date.week type: attribute - id: date.quarter type: attribute + - id: date.year + type: attribute + - id: date.monthOfYear + type: attribute - id: date.month type: attribute - - id: date.minuteOfHour + - id: date.weekOfYear type: attribute - - id: date.dayOfWeek + - id: date.minute type: attribute - - id: date.day + - id: date.hourOfDay + type: attribute + - id: date.dayOfYear type: attribute - id: date.quarterOfYear type: attribute - - id: date.year + - id: date.minuteOfHour type: attribute - id: date.dayOfMonth type: attribute - id: date.hour type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.minute - type: attribute - - id: date.week + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2170,51 +2170,17 @@ interactions: body: string: data: - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: $#,##0 - maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} - IN ("Returned", "Canceled")) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Clothing") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-electronic + - id: amount_of_active_customers type: metric attributes: - title: Revenue (Electronic) + title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") + format: '#,##0' + maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers meta: origin: originType: NATIVE @@ -2224,7 +2190,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2239,7 +2205,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2256,7 +2222,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2272,7 +2238,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2287,7 +2253,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2302,7 +2268,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2317,7 +2283,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2333,7 +2299,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2349,7 +2315,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2360,17 +2326,99 @@ interactions: origin: originType: NATIVE originId: demo - - id: amount_of_active_customers + - id: percent_revenue_from_top_10_products type: metric attributes: - title: '# of Active Customers' + title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: - format: '#,##0' - maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) + format: '#,##0.0%' + maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ + \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_in_category + type: metric + attributes: + title: '% Revenue in Category' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, + ALL OTHER) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL + {attribute/product_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue + type: metric + attributes: + title: Revenue + description: '' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} + IN ("Returned", "Canceled")) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Clothing") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ( "Electronics") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic meta: origin: originType: NATIVE @@ -2380,7 +2428,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2396,7 +2444,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2412,7 +2460,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2427,7 +2475,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2442,7 +2490,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2457,7 +2505,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2472,7 +2520,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2487,7 +2535,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2497,54 +2545,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: percent_revenue_from_top_10_products - type: metric - attributes: - title: '% Revenue from Top 10 Products' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ - \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_in_category - type: metric - attributes: - title: '% Revenue in Category' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, - ALL OTHER) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL - {attribute/product_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product - meta: - origin: - originType: NATIVE - originId: demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 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 a2a5b3965..ad7cd04b9 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 @@ -257,10 +257,10 @@ interactions: relationships: labels: data: - - id: state - type: label - id: geo__state__location type: label + - id: state + type: label links: self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: 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 fbdf82093..6f15e7141 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -111,7 +111,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -159,7 +159,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -174,7 +174,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -286,7 +286,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -318,7 +318,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -334,7 +334,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -350,7 +350,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -396,7 +396,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -441,7 +441,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 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 7a8795b97..189b5b8ff 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,24 +101,24 @@ interactions: type: metric - - id: customer_id type: attribute - - id: revenue_per_customer + - id: percent_revenue_from_top_10_customers type: metric - - id: customer_id type: attribute - - id: amount_of_active_customers - type: metric + - id: customers + type: dataset - - id: customer_id type: attribute - - id: percent_revenue_from_top_10_customers + - id: revenue_per_customer 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: customers - type: dataset + - id: percent_revenue_from_top_10_percent_customers + type: metric - - id: customer_name type: attribute - id: customers @@ -179,22 +179,22 @@ interactions: type: attribute - id: date type: dataset - - - id: date.year - type: attribute - - id: product_revenue_comparison-over_previous_period - type: visualizationObject - - id: date.year type: attribute - id: date type: dataset - - - id: order_id + - - id: date.year type: attribute - - id: order_lines - type: dataset + - id: product_revenue_comparison-over_previous_period + type: visualizationObject - - 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: order_lines @@ -209,7 +209,7 @@ interactions: type: dataset - - id: product_id type: attribute - - id: percent_revenue_per_product + - id: percent_revenue_from_top_10_products type: metric - - id: product_id type: attribute @@ -217,17 +217,13 @@ interactions: type: metric - - id: product_id type: attribute - - id: products - type: dataset - - - id: product_id - type: attribute - - id: percent_revenue_from_top_10_products + - id: percent_revenue_per_product type: metric - - - id: product_name + - - id: product_id type: attribute - id: products type: dataset - - - id: products.category + - - id: product_name type: attribute - id: products type: dataset @@ -235,6 +231,10 @@ interactions: type: attribute - id: percent_revenue_in_category type: metric + - - id: products.category + type: attribute + - id: products + type: dataset - - id: region type: attribute - id: customers @@ -253,11 +253,11 @@ interactions: type: analyticalDashboard - - id: campaigns type: dataset - - id: order_lines + - id: campaign_channels type: dataset - - id: campaigns type: dataset - - id: campaign_channels + - id: order_lines type: dataset - - id: customers type: dataset @@ -265,32 +265,32 @@ interactions: type: dataset - - id: date type: dataset - - id: product_revenue_comparison-over_previous_period + - id: customers_trend type: visualizationObject - - id: date type: dataset - - id: customers_trend + - id: revenue_by_category_trend type: visualizationObject - - id: date type: dataset - - id: order_lines - type: dataset + - id: product_revenue_comparison-over_previous_period + type: visualizationObject - - id: date type: dataset - - id: revenue_by_category_trend - type: visualizationObject + - id: product_and_category + type: analyticalDashboard - - id: date type: dataset - - id: percentage_of_customers_by_region - type: visualizationObject + - id: order_lines + type: dataset - - id: date type: dataset - id: revenue_trend type: visualizationObject - - id: date type: dataset - - id: product_and_category - type: analyticalDashboard + - id: percentage_of_customers_by_region + type: visualizationObject - - id: products type: dataset - id: order_lines @@ -299,10 +299,6 @@ interactions: type: fact - id: campaign_channels type: dataset - - - id: price - type: fact - - id: order_lines - type: dataset - - id: price type: fact - id: order_amount @@ -311,7 +307,7 @@ interactions: type: fact - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - - id: quantity + - - id: price type: fact - id: order_lines type: dataset @@ -323,6 +319,10 @@ interactions: type: fact - id: revenue_and_quantity_by_product_and_category type: visualizationObject + - - id: quantity + type: fact + - id: order_lines + type: dataset - - id: spend type: fact - id: campaign_channels @@ -335,22 +335,18 @@ interactions: type: label - id: campaign_channel_id type: attribute - - - id: campaign_channels.category - type: label - - id: campaign_channels.category - type: attribute - - id: campaign_channels.category type: label - id: campaign_spend type: visualizationObject + - - id: campaign_channels.category + type: label + - id: campaign_channels.category + type: attribute - - id: campaign_id type: label - id: campaign_id type: attribute - - - id: campaign_name - type: label - - id: campaign_name_filter - type: filterContext - - id: campaign_name type: label - id: campaign_spend @@ -363,14 +359,14 @@ interactions: type: label - id: revenue_per_usd_vs_spend_by_campaign type: visualizationObject + - - id: campaign_name + type: label + - id: campaign_name_filter + type: filterContext - - id: customer_id type: label - id: customer_id type: attribute - - - id: customer_name - type: label - - id: percent_revenue_per_product_by_customer_and_category - type: visualizationObject - - id: customer_name type: label - id: customer_name @@ -379,6 +375,10 @@ interactions: type: label - id: revenue_and_quantity_by_product_and_category type: visualizationObject + - - id: customer_name + type: label + - id: percent_revenue_per_product_by_customer_and_category + type: visualizationObject - - id: customer_name type: label - id: top_10_customers @@ -417,24 +417,24 @@ interactions: type: attribute - - id: date.month type: label - - id: percentage_of_customers_by_region + - id: customers_trend type: visualizationObject - - id: date.month type: label - - id: revenue_trend + - 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: revenue_trend + type: visualizationObject - - id: date.month type: label - - id: revenue_by_category_trend - type: visualizationObject + - id: date.month + type: attribute - - id: date.monthOfYear type: label - id: date.monthOfYear @@ -477,11 +477,11 @@ interactions: type: attribute - - id: order_status type: label - - id: amount_of_valid_orders + - id: revenue type: metric - - id: order_status type: label - - id: revenue + - id: amount_of_valid_orders type: metric - - id: product_id type: label @@ -489,7 +489,11 @@ interactions: type: attribute - - id: product_name type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: revenue_and_quantity_by_product_and_category + type: visualizationObject + - - id: product_name + type: label + - id: product_saleability type: visualizationObject - - id: product_name type: label @@ -497,15 +501,19 @@ interactions: type: visualizationObject - - id: product_name type: label - - id: product_breakdown + - id: revenue_by_product type: visualizationObject - - id: product_name type: label - - id: product_saleability + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: product_name type: label - - id: revenue_and_quantity_by_product_and_category + - id: product_breakdown + type: visualizationObject + - - id: product_name + type: label + - id: top_10_products type: visualizationObject - - id: product_name type: label @@ -515,22 +523,18 @@ interactions: type: label - id: product_revenue_comparison-over_previous_period type: visualizationObject - - - id: product_name - type: label - - id: revenue_by_product - type: visualizationObject - - - id: product_name + - - id: products.category type: label - - id: top_10_products + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: products.category type: label - - id: revenue-home + - id: revenue-electronic type: metric - - id: products.category type: label - - id: percent_revenue_per_product_by_customer_and_category - type: visualizationObject + - id: revenue-clothing + type: metric - - id: products.category type: label - id: product_categories_pie_chart @@ -545,36 +549,28 @@ interactions: type: attribute - - id: products.category type: label - - id: product_breakdown + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: products.category type: label - - id: revenue_by_category_trend + - id: product_breakdown type: visualizationObject - - id: products.category type: label - - id: revenue_and_quantity_by_product_and_category + - id: revenue_by_category_trend type: visualizationObject - - id: products.category type: label - - id: revenue-clothing - type: metric + - id: top_10_products + type: visualizationObject - - id: products.category type: label - - id: revenue-electronic + - id: revenue-home type: metric - - id: products.category type: label - id: product_revenue_comparison-over_previous_period type: visualizationObject - - - id: products.category - type: label - - id: top_10_products - type: visualizationObject - - - id: region - type: label - - id: percentage_of_customers_by_region - type: visualizationObject - - id: region type: label - id: region @@ -583,6 +579,10 @@ interactions: type: label - id: region_filter type: filterContext + - - id: region + type: label + - id: percentage_of_customers_by_region + type: visualizationObject - - id: state type: label - id: state @@ -591,18 +591,14 @@ interactions: type: label - id: top_10_customers type: visualizationObject - - - id: type - type: label - - id: type - type: attribute - - id: type type: label - id: campaign_spend type: visualizationObject - - - id: amount_of_active_customers - type: metric - - id: percentage_of_customers_by_region - type: visualizationObject + - - id: type + type: label + - id: type + type: attribute - - id: amount_of_active_customers type: metric - id: amount_of_top_customers @@ -611,18 +607,22 @@ interactions: type: metric - id: customers_trend type: visualizationObject - - - id: amount_of_orders + - - id: amount_of_active_customers type: metric - - id: product_saleability + - id: percentage_of_customers_by_region type: visualizationObject - - id: amount_of_orders type: metric - - id: revenue_trend + - id: product_saleability type: visualizationObject - - id: amount_of_orders type: metric - id: amount_of_valid_orders type: metric + - - id: amount_of_orders + type: metric + - id: revenue_trend + type: visualizationObject - - id: campaign_spend type: metric - id: campaign_spend @@ -649,63 +649,71 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: revenue-home + - id: percent_revenue_from_top_10_products type: metric - - id: revenue type: metric - - id: percent_revenue_per_product_by_customer_and_category + - id: revenue-electronic + type: metric + - - id: revenue + type: metric + - id: product_saleability type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_from_top_10_percent_products + - id: total_revenue type: metric - - id: revenue type: metric - - id: revenue-outdoor + - id: product_categories_pie_chart + type: visualizationObject + - - id: revenue + type: metric + - id: percent_revenue_from_top_10_percent_products type: metric - - id: revenue type: metric - - id: revenue_per_dollar_spent + - id: revenue-outdoor type: metric - - id: revenue type: metric - - id: revenue_and_quantity_by_product_and_category - type: visualizationObject + - id: revenue_top_10_percent + type: metric - - id: revenue type: metric - - id: revenue-electronic + - id: percent_revenue type: metric - - id: revenue type: metric - - id: product_revenue_comparison-over_previous_period + - id: product_breakdown type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_from_top_10_percent_customers - type: metric + - id: revenue_by_category_trend + type: visualizationObject - - id: revenue type: metric - - id: percent_revenue_per_product + - id: revenue-home type: metric - - id: revenue type: metric - - id: product_categories_pie_chart + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: revenue type: metric - - id: amount_of_top_customers + - id: revenue_per_dollar_spent type: metric - - id: revenue type: metric - - id: revenue_per_customer + - id: revenue_top_10 type: metric - - id: revenue type: metric - - id: revenue_top_10_percent + - id: percent_revenue_in_category type: metric - - id: revenue type: metric - - id: product_breakdown + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: revenue type: metric @@ -713,43 +721,35 @@ interactions: type: metric - - id: revenue type: metric - - id: product_saleability - type: visualizationObject - - - id: revenue + - id: revenue-clothing type: metric - - id: revenue_by_category_trend - type: visualizationObject - - id: revenue type: metric - - id: percent_revenue + - id: revenue_per_customer type: metric - - id: revenue type: metric - - id: total_revenue - type: metric + - id: revenue_by_product + type: visualizationObject - - id: revenue type: metric - id: revenue_trend type: visualizationObject - - id: revenue type: metric - - id: revenue-clothing - type: metric - - - id: revenue - type: metric - - id: revenue_by_product + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: revenue type: metric - - id: revenue_top_10 + - id: amount_of_top_customers type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_products + - id: percent_revenue_per_product type: metric - - id: revenue type: metric - - id: percent_revenue_in_category + - id: percent_revenue_from_top_10_percent_customers type: metric - - id: revenue_per_customer type: metric @@ -761,35 +761,35 @@ interactions: type: visualizationObject - - id: revenue_top_10 type: metric - - id: top_10_customers - type: visualizationObject + - id: percent_revenue_from_top_10_products + type: metric - - id: revenue_top_10 type: metric - id: percent_revenue_from_top_10_customers type: metric - - id: revenue_top_10 type: metric - - id: percent_revenue_from_top_10_products - type: metric + - id: top_10_products + type: visualizationObject - - id: revenue_top_10 type: metric - - id: top_10_products + - id: top_10_customers type: visualizationObject - - id: revenue_top_10_percent type: metric - - id: percent_revenue_from_top_10_percent_customers + - id: percent_revenue_from_top_10_percent_products type: metric - - id: revenue_top_10_percent type: metric - - id: percent_revenue_from_top_10_percent_products + - id: percent_revenue_from_top_10_percent_customers 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 @@ -825,11 +825,11 @@ interactions: type: analyticalDashboard - - id: top_10_products type: visualizationObject - - id: dashboard_plugin + - id: product_and_category type: analyticalDashboard - - id: top_10_products type: visualizationObject - - id: product_and_category + - id: dashboard_plugin type: analyticalDashboard - - id: campaign_name_filter type: filterContext 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 036b6a7a4..441b2246c 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: 9858e6b9c7b4d5d6 + traceId: 6b2aed2f3dee5b57 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -655,9 +655,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: @@ -1139,9 +1139,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: 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 c528151f8..afa5bdfe8 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: 8c75c9d2c4ba0664 + traceId: e095ae5a275482cc - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -2514,7 +2514,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 1c8fd1f7a..44b5ad340 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: 10da489f15813771 + traceId: 385a912ebd2133fe - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -724,7 +724,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 c9cbd506c..190eebbc0 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: 847b443abc3b1ca0 + traceId: 7828985dd5e82407 - 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 b806362eb..4ee79d8b1 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: 671f18cbbd4899dc + traceId: eb36bb17c584b68b - 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 f46709f38..5e73bbac7 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -170,7 +170,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -320,7 +320,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -332,7 +332,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -342,7 +342,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -391,7 +391,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -400,7 +400,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -410,7 +410,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -420,7 +420,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -430,7 +430,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -439,7 +439,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -448,7 +448,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -458,7 +458,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -468,7 +468,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -478,7 +478,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -488,7 +488,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -498,7 +498,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -508,7 +508,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -518,7 +518,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -529,7 +529,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -539,7 +539,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -549,7 +549,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -559,7 +559,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -568,7 +568,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -577,7 +577,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -586,7 +586,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -595,7 +595,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -604,7 +604,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -613,7 +613,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -678,7 +678,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -754,7 +754,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -833,7 +833,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -892,7 +892,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -949,7 +949,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1002,7 +1002,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1077,7 +1077,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1134,7 +1134,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1233,7 +1233,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1289,7 +1289,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1328,7 +1328,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1384,7 +1384,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1452,7 +1452,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1509,7 +1509,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1566,7 +1566,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1721,7 +1721,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1849,7 +1849,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -1892,7 +1892,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2042,7 +2042,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2054,7 +2054,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2064,7 +2064,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2113,7 +2113,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2122,7 +2122,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2132,7 +2132,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2142,7 +2142,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2152,7 +2152,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2161,7 +2161,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2170,7 +2170,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2180,7 +2180,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2190,7 +2190,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2200,7 +2200,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2210,7 +2210,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2220,7 +2220,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2230,7 +2230,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2240,7 +2240,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2251,7 +2251,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2261,7 +2261,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2271,7 +2271,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2281,7 +2281,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2290,7 +2290,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2299,7 +2299,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2308,7 +2308,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2317,7 +2317,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2326,7 +2326,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2335,7 +2335,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2400,7 +2400,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2476,7 +2476,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2555,7 +2555,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2614,7 +2614,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2671,7 +2671,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2724,7 +2724,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2799,7 +2799,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2856,7 +2856,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -2955,7 +2955,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3011,7 +3011,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3050,7 +3050,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3106,7 +3106,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3174,7 +3174,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3231,7 +3231,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3288,7 +3288,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:35 createdBy: id: admin type: user @@ -3443,6 +3443,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 3107aa189..9773435a4 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: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1119,6 +1119,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 e4d3af5f5..378a6de7b 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 @@ -1506,6 +1506,37 @@ interactions: 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: geo__state__location + type: label + - id: state + 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: @@ -2016,37 +2047,6 @@ interactions: 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 included: - id: date.minuteOfHour type: label @@ -2108,15 +2108,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -2132,15 +2132,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -2710,10 +2710,10 @@ interactions: data: - id: campaign_channel_id type: attribute - - id: campaign_channels.category - type: attribute - id: type type: attribute + - id: campaign_channels.category + type: attribute facts: data: - id: spend @@ -2745,10 +2745,10 @@ interactions: relationships: attributes: data: - - id: campaign_name - type: attribute - id: campaign_id type: attribute + - id: campaign_name + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns meta: @@ -2780,14 +2780,14 @@ interactions: relationships: attributes: data: - - id: customer_id - type: attribute - id: customer_name type: attribute - - id: state + - id: customer_id type: attribute - id: region type: attribute + - id: state + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -2806,15 +2806,15 @@ interactions: type: attribute referenceProperties: - identifier: - id: customers + id: date type: dataset multivalue: false sources: - - column: customer_id - dataType: INT + - column: date + dataType: DATE target: - id: customer_id - type: attribute + id: date + type: date sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -2830,15 +2830,15 @@ interactions: sourceColumns: null sourceColumnDataTypes: null - identifier: - id: date + id: customers type: dataset multivalue: false sources: - - column: date - dataType: DATE + - column: customer_id + dataType: INT target: - id: date - type: date + id: customer_id + type: attribute sourceColumns: null sourceColumnDataTypes: null - identifier: @@ -2880,16 +2880,16 @@ interactions: data: - id: order_id type: attribute - - id: order_status - type: attribute - id: order_line_id type: attribute + - id: order_status + type: attribute facts: data: - - id: quantity - type: fact - id: price type: fact + - id: quantity + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines meta: @@ -2917,10 +2917,10 @@ interactions: data: - id: products.category type: attribute - - id: product_id - type: attribute - id: product_name type: attribute + - id: product_id + type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2939,35 +2939,35 @@ interactions: relationships: attributes: data: - - id: date.monthOfYear + - id: date.day type: attribute - - id: date.hourOfDay + - id: date.week type: attribute - id: date.quarter type: attribute + - id: date.year + type: attribute + - id: date.monthOfYear + type: attribute - id: date.month type: attribute - - id: date.minuteOfHour + - id: date.weekOfYear type: attribute - - id: date.dayOfWeek + - id: date.minute type: attribute - - id: date.day + - id: date.hourOfDay + type: attribute + - id: date.dayOfYear type: attribute - id: date.quarterOfYear type: attribute - - id: date.year + - id: date.minuteOfHour type: attribute - id: date.dayOfMonth type: attribute - id: date.hour type: attribute - - id: date.dayOfYear - type: attribute - - id: date.weekOfYear - type: attribute - - id: date.minute - type: attribute - - id: date.week + - id: date.dayOfWeek type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -3412,51 +3412,17 @@ interactions: body: string: data: - - id: revenue - type: metric - attributes: - title: Revenue - description: '' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: $#,##0 - maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} - IN ("Returned", "Canceled")) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-clothing - type: metric - attributes: - title: Revenue (Clothing) - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ("Clothing") - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing - meta: - origin: - originType: NATIVE - originId: demo - - id: revenue-electronic + - id: amount_of_active_customers type: metric attributes: - title: Revenue (Electronic) + title: '# of Active Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: - format: $#,##0 - maql: SELECT {metric/revenue} WHERE {label/products.category} IN - ( "Electronics") + format: '#,##0' + maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers meta: origin: originType: NATIVE @@ -3466,7 +3432,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3481,7 +3447,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -3498,7 +3464,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -3514,7 +3480,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -3529,7 +3495,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -3544,7 +3510,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -3559,7 +3525,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -3575,7 +3541,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3591,7 +3557,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3602,17 +3568,99 @@ interactions: origin: originType: NATIVE originId: demo - - id: amount_of_active_customers + - id: percent_revenue_from_top_10_products type: metric attributes: - title: '# of Active Customers' + title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: - format: '#,##0' - maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) + format: '#,##0.0%' + maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ + \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/amount_of_active_customers + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_in_category + type: metric + attributes: + title: '% Revenue in Category' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, + ALL OTHER) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category + meta: + origin: + originType: NATIVE + originId: demo + - id: percent_revenue_per_product + type: metric + attributes: + title: '% Revenue per Product' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: '#,##0.0%' + maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL + {attribute/product_id}) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue + type: metric + attributes: + title: Revenue + description: '' + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} + IN ("Returned", "Canceled")) + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-clothing + type: metric + attributes: + title: Revenue (Clothing) + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ("Clothing") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-clothing + meta: + origin: + originType: NATIVE + originId: demo + - id: revenue-electronic + type: metric + attributes: + title: Revenue (Electronic) + areRelationsValid: true + createdAt: 2024-01-25 12:35 + content: + format: $#,##0 + maql: SELECT {metric/revenue} WHERE {label/products.category} IN + ( "Electronics") + links: + self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/revenue-electronic meta: origin: originType: NATIVE @@ -3622,7 +3670,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3638,7 +3686,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3654,7 +3702,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -3669,7 +3717,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -3684,7 +3732,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -3699,7 +3747,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -3714,7 +3762,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -3729,7 +3777,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:35 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -3739,54 +3787,6 @@ interactions: origin: originType: NATIVE originId: demo - - id: percent_revenue_from_top_10_products - type: metric - attributes: - title: '% Revenue from Top 10 Products' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ - \ BY {attribute/product_id}) > 0)\n /\n {metric/revenue}" - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_from_top_10_products - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_in_category - type: metric - attributes: - title: '% Revenue in Category' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, - ALL OTHER) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_in_category - meta: - origin: - originType: NATIVE - originId: demo - - id: percent_revenue_per_product - type: metric - attributes: - title: '% Revenue per Product' - areRelationsValid: true - createdAt: 2024-01-11 13:32 - content: - format: '#,##0.0%' - maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL - {attribute/product_id}) - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics/percent_revenue_per_product - meta: - origin: - originType: NATIVE - originId: demo links: self: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=0&size=500 next: http://localhost:3000/api/v1/entities/workspaces/demo/metrics?page=1&size=500 diff --git a/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml b/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml index 9a1c43663..483b2424c 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/label_elements.yaml @@ -28,38 +28,62 @@ interactions: code: 200 message: OK headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Expose-Headers: + - Content-Disposition, Content-Length, Content-Range, Set-Cookie Cache-Control: - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - '216' + Connection: + - keep-alive + 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 + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net privacy-policy.truste.com + www.gooddata.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com + cdn.jsdelivr.net fast.fonts.net; font-src ''self'' data: fonts.gstatic.com + *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; frame-src + ''self'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' Content-Type: - application/json DATE: &id001 - PLACEHOLDER Expires: - '0' - Featurepolicy: - - geolocation 'none'; midi 'none'; notifications 'none'; push 'none'; sync-xhr - 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope - 'none'; speaker 'none'; vibrate 'none'; fullscreen 'none'; payment 'none'; + GoodData-Deployment: + - aio + Permission-Policy: + - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera + 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment + 'none'; Pragma: - no-cache Referrer-Policy: - - same-origin + - no-referrer + Server: + - nginx Set-Cookie: - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; SameSite=Lax + Transfer-Encoding: + - chunked Vary: - Origin - Access-Control-Request-Method - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-Frame-Options: - - SAMEORIGIN X-GDC-TRACE-ID: *id001 - X-Xss-Protection: - - 1; mode=block + X-XSS-Protection: + - 1 ; mode=block + content-length: + - '216' body: string: primaryLabel: @@ -100,37 +124,61 @@ interactions: code: 200 message: OK headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Expose-Headers: + - Content-Disposition, Content-Length, Content-Range, Set-Cookie Cache-Control: - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - '169' + Connection: + - keep-alive + 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 + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net privacy-policy.truste.com + www.gooddata.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com + cdn.jsdelivr.net fast.fonts.net; font-src ''self'' data: fonts.gstatic.com + *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; frame-src + ''self'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' Content-Type: - application/json DATE: *id001 Expires: - '0' - Featurepolicy: - - geolocation 'none'; midi 'none'; notifications 'none'; push 'none'; sync-xhr - 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope - 'none'; speaker 'none'; vibrate 'none'; fullscreen 'none'; payment 'none'; + GoodData-Deployment: + - aio + Permission-Policy: + - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera + 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment + 'none'; Pragma: - no-cache Referrer-Policy: - - same-origin + - no-referrer + Server: + - nginx Set-Cookie: - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; SameSite=Lax + Transfer-Encoding: + - chunked Vary: - Origin - Access-Control-Request-Method - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-Frame-Options: - - SAMEORIGIN X-GDC-TRACE-ID: *id001 - X-Xss-Protection: - - 1; mode=block + X-XSS-Protection: + - 1 ; mode=block + content-length: + - '169' body: string: primaryLabel: @@ -167,37 +215,61 @@ interactions: code: 200 message: OK headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Expose-Headers: + - Content-Disposition, Content-Length, Content-Range, Set-Cookie Cache-Control: - no-cache, no-store, max-age=0, must-revalidate - Content-Length: - - '263' + Connection: + - keep-alive + 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 + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net privacy-policy.truste.com + www.gooddata.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com + cdn.jsdelivr.net fast.fonts.net; font-src ''self'' data: fonts.gstatic.com + *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; frame-src + ''self'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' Content-Type: - application/json DATE: *id001 Expires: - '0' - Featurepolicy: - - geolocation 'none'; midi 'none'; notifications 'none'; push 'none'; sync-xhr - 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope - 'none'; speaker 'none'; vibrate 'none'; fullscreen 'none'; payment 'none'; + GoodData-Deployment: + - aio + Permission-Policy: + - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera + 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment + 'none'; Pragma: - no-cache Referrer-Policy: - - same-origin + - no-referrer + Server: + - nginx Set-Cookie: - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 GMT; HttpOnly; SameSite=Lax + Transfer-Encoding: + - chunked Vary: - Origin - Access-Control-Request-Method - Access-Control-Request-Headers X-Content-Type-Options: - nosniff - X-Frame-Options: - - SAMEORIGIN X-GDC-TRACE-ID: *id001 - X-Xss-Protection: - - 1; mode=block + X-XSS-Protection: + - 1 ; mode=block + content-length: + - '263' body: string: primaryLabel: 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 0b039f12a..2e12f0a1c 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: d1559951689770f5 + traceId: 351cdc569fbefba0 - 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 945e1d859..c138b7c15 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: c6abd6f4ddbbe1c8 + traceId: 092a8f5975fe0fa4 - 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 e48afc956..45568816a 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: 86ca79d2ca21851e + traceId: 1af86ccbec3ef5db - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,9 +173,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/demo-bigquery-ds - request: @@ -303,7 +303,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -346,7 +346,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -496,7 +496,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -508,7 +508,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -518,7 +518,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -567,7 +567,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -576,7 +576,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -586,7 +586,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -596,7 +596,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -606,7 +606,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -615,7 +615,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -624,7 +624,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -634,7 +634,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -644,7 +644,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -654,7 +654,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -664,7 +664,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -674,7 +674,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -684,7 +684,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -694,7 +694,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -705,7 +705,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -715,7 +715,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -725,7 +725,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -735,7 +735,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -744,7 +744,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -753,7 +753,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -762,7 +762,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -771,7 +771,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -780,7 +780,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -789,7 +789,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -854,7 +854,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -930,7 +930,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1009,7 +1009,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1068,7 +1068,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1125,7 +1125,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1178,7 +1178,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1253,7 +1253,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1310,7 +1310,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1409,7 +1409,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1465,7 +1465,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1504,7 +1504,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1560,7 +1560,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1628,7 +1628,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1685,7 +1685,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -1742,7 +1742,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -2238,7 +2238,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 79b5685d7db2980c + traceId: e04b75fb5ae8b34b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_clone?include=workspaces @@ -2316,7 +2316,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: b27e58525ca7dbcb + traceId: 53e6b9c1c60e499a - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -3002,7 +3002,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3044,7 +3044,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3195,7 +3195,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3208,7 +3208,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3218,7 +3218,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3266,7 +3266,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3275,7 +3275,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3285,7 +3285,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3296,7 +3296,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3305,7 +3305,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3314,7 +3314,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3323,7 +3323,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3333,7 +3333,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3343,7 +3343,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3353,7 +3353,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3363,7 +3363,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3373,7 +3373,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3382,7 +3382,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3393,7 +3393,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3402,7 +3402,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3412,7 +3412,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3421,7 +3421,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3430,7 +3430,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3439,7 +3439,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3448,7 +3448,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3457,7 +3457,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3466,7 +3466,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3475,7 +3475,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3484,7 +3484,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3549,7 +3549,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3625,7 +3625,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3704,7 +3704,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3763,7 +3763,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3820,7 +3820,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3873,7 +3873,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -3948,7 +3948,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4005,7 +4005,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4104,7 +4104,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4160,7 +4160,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4199,7 +4199,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4255,7 +4255,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4323,7 +4323,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4380,7 +4380,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4437,7 +4437,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4891,7 +4891,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -4934,7 +4934,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5084,7 +5084,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5096,7 +5096,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5106,7 +5106,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5155,7 +5155,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5164,7 +5164,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5174,7 +5174,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5184,7 +5184,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5194,7 +5194,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5203,7 +5203,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5212,7 +5212,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5222,7 +5222,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5232,7 +5232,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5242,7 +5242,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5252,7 +5252,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5262,7 +5262,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5272,7 +5272,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5282,7 +5282,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5293,7 +5293,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5303,7 +5303,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5313,7 +5313,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5323,7 +5323,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5332,7 +5332,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5341,7 +5341,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5350,7 +5350,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5359,7 +5359,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5368,7 +5368,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5377,7 +5377,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5442,7 +5442,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5518,7 +5518,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5597,7 +5597,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5656,7 +5656,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5713,7 +5713,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5766,7 +5766,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5841,7 +5841,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5898,7 +5898,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -5997,7 +5997,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6053,7 +6053,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6092,7 +6092,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6148,7 +6148,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6216,7 +6216,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6273,7 +6273,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6330,7 +6330,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6794,7 +6794,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6837,7 +6837,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6987,7 +6987,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -6999,7 +6999,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7009,7 +7009,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7058,7 +7058,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7067,7 +7067,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7077,7 +7077,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7087,7 +7087,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7097,7 +7097,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7106,7 +7106,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7115,7 +7115,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7125,7 +7125,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7135,7 +7135,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7145,7 +7145,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7155,7 +7155,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7165,7 +7165,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7175,7 +7175,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7185,7 +7185,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7196,7 +7196,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7206,7 +7206,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7216,7 +7216,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7226,7 +7226,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7235,7 +7235,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7244,7 +7244,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7253,7 +7253,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7262,7 +7262,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7271,7 +7271,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7280,7 +7280,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7345,7 +7345,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7421,7 +7421,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7500,7 +7500,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7559,7 +7559,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7616,7 +7616,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7669,7 +7669,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7744,7 +7744,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7801,7 +7801,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7900,7 +7900,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7956,7 +7956,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -7995,7 +7995,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -8051,7 +8051,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -8119,7 +8119,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -8176,7 +8176,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -8233,7 +8233,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -8729,7 +8729,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 40288cd6be2519ff + traceId: 5735572345bbbd41 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_jacek?include=workspaces @@ -8807,7 +8807,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 2cd70173a1c2c386 + traceId: b8ec5eec1d1eb22d - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -9507,7 +9507,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9549,7 +9549,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9700,7 +9700,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9713,7 +9713,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9723,7 +9723,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9771,7 +9771,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9780,7 +9780,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9790,7 +9790,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9801,7 +9801,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9810,7 +9810,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9819,7 +9819,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9828,7 +9828,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9838,7 +9838,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9848,7 +9848,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9858,7 +9858,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9868,7 +9868,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9878,7 +9878,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9887,7 +9887,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9898,7 +9898,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9907,7 +9907,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9917,7 +9917,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9926,7 +9926,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9935,7 +9935,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9944,7 +9944,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9953,7 +9953,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9962,7 +9962,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9971,7 +9971,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9980,7 +9980,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -9989,7 +9989,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10054,7 +10054,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10130,7 +10130,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10209,7 +10209,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10268,7 +10268,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10325,7 +10325,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10378,7 +10378,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10453,7 +10453,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10510,7 +10510,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10609,7 +10609,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10665,7 +10665,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10704,7 +10704,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10760,7 +10760,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10828,7 +10828,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10885,7 +10885,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -10942,7 +10942,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11582,7 +11582,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11625,7 +11625,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11775,7 +11775,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11787,7 +11787,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11797,7 +11797,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11846,7 +11846,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11855,7 +11855,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11865,7 +11865,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11875,7 +11875,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11885,7 +11885,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11894,7 +11894,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11903,7 +11903,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11913,7 +11913,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11923,7 +11923,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11933,7 +11933,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11943,7 +11943,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11953,7 +11953,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11963,7 +11963,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11973,7 +11973,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11984,7 +11984,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -11994,7 +11994,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12004,7 +12004,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12014,7 +12014,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12023,7 +12023,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12032,7 +12032,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12041,7 +12041,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12050,7 +12050,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12059,7 +12059,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12068,7 +12068,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12133,7 +12133,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12209,7 +12209,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12288,7 +12288,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12347,7 +12347,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12404,7 +12404,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12457,7 +12457,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12532,7 +12532,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12589,7 +12589,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12688,7 +12688,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12744,7 +12744,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12783,7 +12783,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12839,7 +12839,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12907,7 +12907,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -12964,7 +12964,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -13021,7 +13021,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -13794,7 +13794,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c6e1258d44e2e27e + traceId: 549a1adab59b5755 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -14494,7 +14494,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14536,7 +14536,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14687,7 +14687,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14700,7 +14700,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14710,7 +14710,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14758,7 +14758,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14767,7 +14767,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14777,7 +14777,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14788,7 +14788,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14797,7 +14797,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14806,7 +14806,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14815,7 +14815,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14825,7 +14825,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14835,7 +14835,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14845,7 +14845,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14855,7 +14855,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14865,7 +14865,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14874,7 +14874,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14885,7 +14885,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14894,7 +14894,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14904,7 +14904,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14913,7 +14913,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14922,7 +14922,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14931,7 +14931,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14940,7 +14940,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14949,7 +14949,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14958,7 +14958,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14967,7 +14967,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -14976,7 +14976,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15041,7 +15041,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15117,7 +15117,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15196,7 +15196,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15255,7 +15255,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15312,7 +15312,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15365,7 +15365,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15440,7 +15440,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15497,7 +15497,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15596,7 +15596,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15652,7 +15652,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15691,7 +15691,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15747,7 +15747,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15815,7 +15815,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15872,7 +15872,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 createdBy: id: admin type: user @@ -15929,7 +15929,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:33 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 43430d382..c4b730ffa 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: 32f6384c1b5180d7 + traceId: 3f472d1410cc56f1 - 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 2005773af..b603ffa01 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: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 8ba0a2904..389311872 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 @@ -2033,7 +2033,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 14615726d..6ac1d7be9 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: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 70fb59ec9..90b21777b 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: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 1a5c55e15..3de3f04af 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: de61e66216bd85b3 + traceId: 04a189820fe64814 - 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 1a32381af..ed7336f81 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: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -455,6 +455,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 ed76c8519..ecf7e76be 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 @@ -1878,7 +1878,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -3757,6 +3757,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 5bd85dd4d..2711a68fb 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: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -511,6 +511,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 a1e26f7dc..f55097463 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -212,7 +212,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -363,7 +363,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -375,7 +375,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -385,7 +385,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -434,7 +434,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -443,7 +443,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -453,7 +453,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -463,7 +463,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -473,7 +473,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -482,7 +482,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -491,7 +491,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -501,7 +501,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -511,7 +511,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -521,7 +521,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -531,7 +531,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -541,7 +541,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -551,7 +551,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -561,7 +561,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -572,7 +572,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -582,7 +582,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -592,7 +592,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -602,7 +602,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -611,7 +611,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -620,7 +620,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -629,7 +629,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -638,7 +638,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -647,7 +647,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -656,7 +656,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -721,7 +721,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -797,7 +797,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -876,7 +876,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -935,7 +935,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -992,7 +992,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1045,7 +1045,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1120,7 +1120,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1177,7 +1177,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1276,7 +1276,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1332,7 +1332,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1371,7 +1371,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1427,7 +1427,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1495,7 +1495,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1552,7 +1552,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -1609,7 +1609,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2184,7 +2184,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2227,7 +2227,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2378,7 +2378,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2390,7 +2390,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2400,7 +2400,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2449,7 +2449,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2458,7 +2458,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2468,7 +2468,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2478,7 +2478,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2488,7 +2488,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2497,7 +2497,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2506,7 +2506,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2516,7 +2516,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2526,7 +2526,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2536,7 +2536,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2546,7 +2546,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2556,7 +2556,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2566,7 +2566,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2576,7 +2576,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2587,7 +2587,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2597,7 +2597,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2607,7 +2607,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2617,7 +2617,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2626,7 +2626,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2635,7 +2635,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2644,7 +2644,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2653,7 +2653,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2662,7 +2662,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2671,7 +2671,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2736,7 +2736,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2812,7 +2812,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2891,7 +2891,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -2950,7 +2950,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3007,7 +3007,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3060,7 +3060,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3135,7 +3135,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3192,7 +3192,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3291,7 +3291,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3347,7 +3347,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3386,7 +3386,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3442,7 +3442,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3510,7 +3510,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3567,7 +3567,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -3624,7 +3624,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:32 createdBy: id: admin type: user @@ -4181,7 +4181,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -4333,6 +4333,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 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 fad93f5ac..b6ce36385 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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -250,7 +250,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -400,7 +400,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -412,7 +412,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -422,7 +422,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -471,7 +471,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -480,7 +480,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -490,7 +490,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -500,7 +500,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -510,7 +510,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -519,7 +519,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -528,7 +528,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -538,7 +538,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -548,7 +548,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -558,7 +558,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -568,7 +568,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -578,7 +578,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -588,7 +588,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -598,7 +598,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -609,7 +609,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -619,7 +619,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -629,7 +629,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -639,7 +639,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -648,7 +648,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -657,7 +657,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -666,7 +666,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -675,7 +675,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -684,7 +684,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -693,7 +693,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -758,7 +758,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -834,7 +834,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -913,7 +913,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -972,7 +972,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1029,7 +1029,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1082,7 +1082,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1157,7 +1157,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1214,7 +1214,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1313,7 +1313,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1369,7 +1369,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1408,7 +1408,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1464,7 +1464,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1532,7 +1532,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1589,7 +1589,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -1646,7 +1646,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2134,7 +2134,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 8e31e65d-514f-437f-85d0-ed6aa12a966e + oauthClientId: 5c3f05ef-64c8-48f0-a5bc-0301af5616f6 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -2342,7 +2342,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2385,7 +2385,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2535,7 +2535,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2547,7 +2547,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2557,7 +2557,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2606,7 +2606,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2615,7 +2615,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2625,7 +2625,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2635,7 +2635,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2645,7 +2645,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2654,7 +2654,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2663,7 +2663,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2673,7 +2673,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2683,7 +2683,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2693,7 +2693,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2703,7 +2703,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2713,7 +2713,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2723,7 +2723,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2733,7 +2733,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2744,7 +2744,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2754,7 +2754,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2764,7 +2764,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2774,7 +2774,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2783,7 +2783,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2792,7 +2792,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2801,7 +2801,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2810,7 +2810,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2819,7 +2819,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2828,7 +2828,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2893,7 +2893,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -2969,7 +2969,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3048,7 +3048,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3107,7 +3107,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3164,7 +3164,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3217,7 +3217,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3292,7 +3292,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3349,7 +3349,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3448,7 +3448,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3504,7 +3504,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3543,7 +3543,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3599,7 +3599,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3667,7 +3667,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3724,7 +3724,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -3781,7 +3781,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -4197,7 +4197,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: b333d9e8725490b8 + traceId: b1f5277023d6b927 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -4883,7 +4883,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -4925,7 +4925,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5076,7 +5076,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5089,7 +5089,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5099,7 +5099,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5147,7 +5147,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5156,7 +5156,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5166,7 +5166,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5177,7 +5177,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5186,7 +5186,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5195,7 +5195,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5204,7 +5204,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5214,7 +5214,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5224,7 +5224,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5234,7 +5234,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5244,7 +5244,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: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5254,7 +5254,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5263,7 +5263,7 @@ interactions: maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) id: percent_revenue_per_product title: '% Revenue per Product' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5274,7 +5274,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5283,7 +5283,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5293,7 +5293,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5302,7 +5302,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5311,7 +5311,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5320,7 +5320,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5329,7 +5329,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5338,7 +5338,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5347,7 +5347,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5356,7 +5356,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5365,7 +5365,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5430,7 +5430,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5506,7 +5506,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5585,7 +5585,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5644,7 +5644,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5701,7 +5701,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5754,7 +5754,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5829,7 +5829,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5886,7 +5886,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -5985,7 +5985,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -6041,7 +6041,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -6080,7 +6080,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -6136,7 +6136,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -6204,7 +6204,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -6261,7 +6261,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -6318,7 +6318,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2024-01-11 13:31 + createdAt: 2024-01-25 12:34 createdBy: id: admin type: user @@ -6598,7 +6598,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 88835ea5e8a45ddd + traceId: ff77352f0bde9144 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings @@ -6771,7 +6771,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 71be2172fde26247 + traceId: 0afb3d0977cce4f6 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings 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 c80aa4188..38fdca739 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: b78b13d1384e3329 + traceId: b2f8d7a65c23d0cd - 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: 28f99057a306788d + traceId: 069b206c64ed7570 - 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 474563b69..454cab578 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: a0989a0beeab14e4 + traceId: 0a6f39b78bcc3054 - 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_for_user_group.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_for_user_group.yaml index 2d0ad4b9f..43f12fefb 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_for_user_group.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_for_user_group.yaml @@ -156,7 +156,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 9ba23dc569f39181 + traceId: c54184200fa8c05d - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/userDataFilters 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 00418a590..47b999236 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: faec3269dd9bf95b + traceId: 918bdbbab5852985 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/userDataFilters @@ -367,7 +367,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + 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: CiRiNGU4OTFkYy1iMWVjLTRkNjAtYWUwZC1kNGRhNjFjNDI2MzQSBWxvY2Fs + 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 5fb9b12d5..1f3499eef 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: 51829711a03f0b356537b9946bc104dec0106bf3 + executionResult: 11ab99484a73afa70d2251bbfe99767bb66e82f4 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 51829711a03f0b356537b9946bc104dec0106bf3 + executionResult: 11ab99484a73afa70d2251bbfe99767bb66e82f4 fileName: test_csv format: CSV customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 07a56b1b417b51e7dcf0a215ea33eda460c66be5 + exportResult: 57dbdc8e6de49bf118af8944a5191b41d32ea47b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/07a56b1b417b51e7dcf0a215ea33eda460c66be5 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/57dbdc8e6de49bf118af8944a5191b41d32ea47b body: null headers: Accept: @@ -325,7 +325,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/07a56b1b417b51e7dcf0a215ea33eda460c66be5 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/57dbdc8e6de49bf118af8944a5191b41d32ea47b body: null headers: Accept: @@ -396,7 +396,78 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/07a56b1b417b51e7dcf0a215ea33eda460c66be5 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/57dbdc8e6de49bf118af8944a5191b41d32ea47b + body: null + headers: + Accept: + - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv + Accept-Encoding: + - br, gzip, deflate + X-GDC-VALIDATE-RELATIONS: + - 'true' + X-Requested-With: + - XMLHttpRequest + response: + status: + code: 202 + message: Accepted + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Expose-Headers: + - Content-Disposition, Content-Length, Content-Range, Set-Cookie + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Connection: + - keep-alive + Content-Length: + - '0' + 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 + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net privacy-policy.truste.com + www.gooddata.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com + cdn.jsdelivr.net fast.fonts.net; font-src ''self'' data: fonts.gstatic.com + *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; frame-src + ''self'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' + DATE: *id001 + Expires: + - '0' + GoodData-Deployment: + - aio + Permission-Policy: + - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera + 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment + 'none'; + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Server: + - nginx + Set-Cookie: + - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 + GMT; HttpOnly; SameSite=Lax + Vary: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + X-Content-Type-Options: + - nosniff + X-GDC-TRACE-ID: *id001 + X-XSS-Protection: + - 1 ; mode=block + body: + string: '' + - request: + method: GET + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/57dbdc8e6de49bf118af8944a5191b41d32ea47b 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 09024dcc3..a18d4092c 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 @@ -70,6 +70,7 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff + X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block body: @@ -150,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:37 relationships: createdBy: data: @@ -194,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:37 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -204,7 +205,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:37 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -374,10 +375,10 @@ interactions: name: Revenue per Customer localIdentifier: dim_1 links: - executionResult: 0bd8ebe8e8ee75f00e319005c3262c26350f83de + executionResult: 127b128bd0d5b4cf45d7a6ec2758d9e2f421fb35 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0bd8ebe8e8ee75f00e319005c3262c26350f83de?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/127b128bd0d5b4cf45d7a6ec2758d9e2f421fb35?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -447,34 +448,32 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1394' + - '1323' body: string: data: - - - 57 - - 177.33901960784314 - - - 65 - - 116.33793103448276 - - - 60 - - 112.81109090909091 - - - 48 - - 136.54933333333332 + - - 61 + - 150.10735849056604 + - - 70 + - 110.63396825396825 + - - 53 + - 164.63276595744682 + - - 54 + - 247.32333333333332 + - - 58 + - 113.54166666666667 + - - 76 + - 213.47925373134328 + - - 95 + - 167.58869047619046 + - - 110 + - 237.2503 + - - 91 + - 154.40761904761905 + - - 59 + - 307.9370909090909 - - 63 - - 369.3692156862745 - - - 55 - - 84.3002 - - - 87 - - 249.6326923076923 - - - 87 - - 208.97644736842105 - - - 73 - - 177.2809375 - - - 56 - - 170.1824 - - - 88 - - 178.174875 - - - 65 - - 174.79036363636362 + - 252.81866666666667 dimensionHeaders: - headerGroups: - headers: @@ -511,9 +510,6 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 - - attributeHeader: - labelValue: 2024-01 - primaryLabelValue: 2024-01 - headerGroups: - headers: - measureHeader: @@ -523,19 +519,19 @@ interactions: grandTotals: [] paging: count: - - 12 + - 11 - 2 offset: - 0 - 0 total: - - 12 + - 11 - 2 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 0bd8ebe8e8ee75f00e319005c3262c26350f83de + executionResult: 127b128bd0d5b4cf45d7a6ec2758d9e2f421fb35 fileName: Customers Trend format: CSV customOverride: @@ -620,10 +616,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: c3bd25f152383f73c9a69c25a112431215568bd5 + exportResult: 2e7f75df4db382f73fb882a4e6a29b4a7e9dc22c - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/c3bd25f152383f73c9a69c25a112431215568bd5 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/2e7f75df4db382f73fb882a4e6a29b4a7e9dc22c body: null headers: Accept: @@ -694,7 +690,78 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/c3bd25f152383f73c9a69c25a112431215568bd5 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/2e7f75df4db382f73fb882a4e6a29b4a7e9dc22c + body: null + headers: + Accept: + - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv + Accept-Encoding: + - br, gzip, deflate + X-GDC-VALIDATE-RELATIONS: + - 'true' + X-Requested-With: + - XMLHttpRequest + response: + status: + code: 202 + message: Accepted + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Expose-Headers: + - Content-Disposition, Content-Length, Content-Range, Set-Cookie + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Connection: + - keep-alive + Content-Length: + - '0' + 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 + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net privacy-policy.truste.com + www.gooddata.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com + cdn.jsdelivr.net fast.fonts.net; font-src ''self'' data: fonts.gstatic.com + *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; frame-src + ''self'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' + DATE: *id001 + Expires: + - '0' + GoodData-Deployment: + - aio + Permission-Policy: + - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera + 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment + 'none'; + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Server: + - nginx + Set-Cookie: + - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 + GMT; HttpOnly; SameSite=Lax + Vary: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + X-Content-Type-Options: + - nosniff + X-GDC-TRACE-ID: *id001 + X-XSS-Protection: + - 1 ; mode=block + body: + string: '' + - request: + method: GET + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/2e7f75df4db382f73fb882a4e6a29b4a7e9dc22c body: null headers: Accept: @@ -723,7 +790,7 @@ interactions: Content-Disposition: - attachment; filename*=UTF-8''Customers%20Trend.csv Content-Length: - - '411' + - '407' 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 @@ -770,28 +837,26 @@ interactions: body: string: '"date.month","amount_of_active_customers","revenue_per_customer" - "2023-02",57,177.33901960784314 - - "2023-03",65,116.33793103448276 + "2023-02",61,150.10735849056604 - "2023-04",60,112.81109090909091 + "2023-03",70,110.63396825396825 - "2023-05",48,136.54933333333332 + "2023-04",53,164.63276595744682 - "2023-06",63,369.3692156862745 + "2023-05",54,247.32333333333332 - "2023-07",55,84.3002 + "2023-06",58,113.54166666666667 - "2023-08",87,249.6326923076923 + "2023-07",76,213.47925373134328 - "2023-09",87,208.97644736842105 + "2023-08",95,167.58869047619046 - "2023-10",73,177.2809375 + "2023-09",110,237.2503 - "2023-11",56,170.1824 + "2023-10",91,154.40761904761905 - "2023-12",88,178.174875 + "2023-11",59,307.9370909090909 - "2024-01",65,174.79036363636362 + "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 f3df1c615..0e88fd8ee 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: 8078ed8c1d8a7cdf64149efd97a70605d1c7cf8a + executionResult: 11ab99484a73afa70d2251bbfe99767bb66e82f4 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 8078ed8c1d8a7cdf64149efd97a70605d1c7cf8a + executionResult: 11ab99484a73afa70d2251bbfe99767bb66e82f4 fileName: test_xlsx format: XLSX customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 58c4e08b92233262158fe3b3a4f2247dd92ee2b2 + exportResult: db767e3e9d40f1ae1be8ae475d5e5fa3c5021e85 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/58c4e08b92233262158fe3b3a4f2247dd92ee2b2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/db767e3e9d40f1ae1be8ae475d5e5fa3c5021e85 body: null headers: Accept: @@ -325,7 +325,78 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/58c4e08b92233262158fe3b3a4f2247dd92ee2b2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/db767e3e9d40f1ae1be8ae475d5e5fa3c5021e85 + body: null + headers: + Accept: + - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv + Accept-Encoding: + - br, gzip, deflate + X-GDC-VALIDATE-RELATIONS: + - 'true' + X-Requested-With: + - XMLHttpRequest + response: + status: + code: 202 + message: Accepted + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Expose-Headers: + - Content-Disposition, Content-Length, Content-Range, Set-Cookie + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Connection: + - keep-alive + Content-Length: + - '0' + 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 + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net privacy-policy.truste.com + www.gooddata.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com + cdn.jsdelivr.net fast.fonts.net; font-src ''self'' data: fonts.gstatic.com + *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; frame-src + ''self'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' + DATE: *id001 + Expires: + - '0' + GoodData-Deployment: + - aio + Permission-Policy: + - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera + 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment + 'none'; + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Server: + - nginx + Set-Cookie: + - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 + GMT; HttpOnly; SameSite=Lax + Vary: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + X-Content-Type-Options: + - nosniff + X-GDC-TRACE-ID: *id001 + X-XSS-Protection: + - 1 ; mode=block + body: + string: '' + - request: + method: GET + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/db767e3e9d40f1ae1be8ae475d5e5fa3c5021e85 body: null headers: Accept: @@ -354,7 +425,7 @@ interactions: Content-Disposition: - attachment; filename*=UTF-8''test_xlsx.xlsx Content-Length: - - '7610' + - '7609' 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 @@ -508,29 +579,29 @@ interactions: BzREgkKnU5EgZF+Vdr6GmVPXn68zRmWfmasr0+J3SI4IG2TV28zst1A06yalI3Lc6aDZpuoahv3/ 8OTjrph8zh4PFoLc88wirtb0tUfBxtupcM5Hbd1scd1b+1GbwuEDZV/QuKnw2WK+HfADiD6aT5QI EvFSqyy/+eYQdG5pxmWs/tkxahGC1op4X+TwqTm7scLZZ4t7c2d7Bl97Z7vaXi5RWzvI5KulP574 - 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwCkMnQrJQEAAFACAAARAAAA - ZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LStJSxC2A23JqYFCXVp6E9ImEbV+kNQ6efvK - duwkkFOPq5n9dnZRsTqoJvkF56XRJSJZjhLQ3AipdyV6r9fpEiU+MC1YYzSU6Ageraq7glvKjYNX - Zyy4IMEnEaQ95bZE+xAsxdjzPSjms+jQUdwap1iIpdthy/g32wGe5fkDVhCYYIHhDpjaiYhOSMEn - pP1xTQ8QHEMDCnTwmGQEn70BnPI3G3rlwqlkOFq4aR3FyX3wcjK2bZu1894a8xP8uXl561dNpe5O - xQFVheCUO2DBuKrAl0U8XMN82MQTbyWIx2PUb7ydFhn6QCQxAB3ijsrH/Om5XqNqls8WaU5SQmoy - p4slvc+/upFX/WegOg35N3EEDLmvP0H1B1BLAwQUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAGRv - Y1Byb3BzL2FwcC54bWydUsFO4zAQvfMVke/UabVaocoxWpVd9bCISi1wXBln0lh1bMszRClfj5Oq - IYU94dObN0/PzzMWt11jsxYiGu8KNp/lLAOnfWncvmCPuz/XNyxDUq5U1jso2BGQ3corsYk+QCQD - mCUHhwWricKSc9Q1NApnqe1Sp/KxUZTKuOe+qoyGO69fG3DEF3n+k0NH4Eoor8NoyE6Oy5a+a1p6 - 3efDp90xJD8pfoVgjVaUHinvjY4efUXZ706DFXzaFMloC/o1GjrKXPBpKbZaWVglY1kpiyD4ByHW - oPqZbZSJKEVLyxY0+ZiheUtTW7DsRSH0cQrWqmiUI3aSnYoB24AU5bOPB6wBCAUfyQFOtVNsfsj5 - IEjgUsjHIAlfRtwZsoAP1UZF+k/i+TTxkIFNMhIg/essdl8ini/7ZL/yTVAuzZCP6K9xB3wMO3+n - CM4TvSTFtlYRyrSEceIjIdYpWrS9flUrt4fyrPna6Pf/dPrjcr6Y5ekMaz9zgn98Z/kOUEsBAhQD - FAAAAAgAAAA/AGFdSTpPAQAAjwQAABMAAAAAAAAAAAAAAICBAAAAAFtDb250ZW50X1R5cGVzXS54 - bWxQSwECFAMUAAAACAAAAD8A8p9J2ukAAABLAgAACwAAAAAAAAAAAAAAgIGAAQAAX3JlbHMvLnJl - bHNQSwECFAMUAAAACAAAAD8ARHVb8OgAAAC5AgAAGgAAAAAAAAAAAAAAgIGSAgAAeGwvX3JlbHMv - d29ya2Jvb2sueG1sLnJlbHNQSwECFAMUAAAACAAAAD8ApzA+QlsHAABQIwAAGAAAAAAAAAAAAAAA - gIGyAwAAeGwvd29ya3NoZWV0cy9zaGVldDEueG1sUEsBAhQDFAAAAAgAAAA/AAjizPlMAQAAKQIA - AA8AAAAAAAAAAAAAAICBQwsAAHhsL3dvcmtib29rLnhtbFBLAQIUAxQAAAAIAAAAPwBbh3NUDwIA - ACwGAAAUAAAAAAAAAAAAAACAgbwMAAB4bC9zaGFyZWRTdHJpbmdzLnhtbFBLAQIUAxQAAAAIAAAA - PwCCg3RkHgMAAIUTAAANAAAAAAAAAAAAAACAgf0OAAB4bC9zdHlsZXMueG1sUEsBAhQDFAAAAAgA - AAA/ABj6RlSwBQAAUhsAABMAAAAAAAAAAAAAAICBRhIAAHhsL3RoZW1lL3RoZW1lMS54bWxQSwEC - FAMUAAAACAAAAD8ApDJ0KyUBAABQAgAAEQAAAAAAAAAAAAAAgIEnGAAAZG9jUHJvcHMvY29yZS54 - bWxQSwECFAMUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAAAAAAAAAAAAgIF7GQAAZG9jUHJvcHMv - YXBwLnhtbFBLBQYAAAAACgAKAIACAAAkGwAAAAA= + 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwBSuHfaJAEAAFACAAARAAAA + ZG9jUHJvcHMvY29yZS54bWydkstqwzAQRff9CqO9LdvpC2E70JasGijUpaE7IU0SUeuBpNbJ31fx + Kwl41eXo3jlzZ1CxPMgm+gXrhFYlypIURaCY5kLtSvRRr+JHFDlPFaeNVlCiIzi0rG4KZgjTFt6s + NmC9ABcFkHKEmRLtvTcEY8f2IKlLgkMFcautpD6UdocNZd90BzhP03sswVNOPcUnYGwmIhqQnE1I + 82ObDsAZhgYkKO9wlmT47PVgpZtt6JQLpxT+aGDWOoqT++DEZGzbNmkXnTXkz/Bm/frerRoLdToV + A1QVnBFmgXptqwJfFuFwDXV+HU68FcCfjkGfeRsW6fuARyEA6eOOyufi+aVeoSpP89s4zeL8rs5y + snggefp1GnnVfwbKYci/iSOgz339Cao/UEsDBBQAAAAIAAAAPwAEcUVjewEAABMDAAAQAAAAZG9j + UHJvcHMvYXBwLnhtbJ1SwU7jMBC98xWR79RptVqhyjFalV31sIhKLXBcGWfSWHVsyzNEKV+Pk6oh + hT3h05s3T8/PMxa3XWOzFiIa7wo2n+UsA6d9ady+YI+7P9c3LENSrlTWOyjYEZDdyiuxiT5AJAOY + JQeHBauJwpJz1DU0Cmep7VKn8rFRlMq4576qjIY7r18bcMQXef6TQ0fgSiivw2jITo7Llr5rWnrd + 58On3TEkPyl+hWCNVpQeKe+Njh59RdnvToMVfNoUyWgL+jUaOspc8GkptlpZWCVjWSmLIPgHIdag + +pltlIkoRUvLFjT5mKF5S1NbsOxFIfRxCtaqaJQjdpKdigHbgBTls48HrAEIBR/JAU61U2x+yPkg + SOBSyMcgCV9G3BmygA/VRkX6T+L5NPGQgU0yEiD96yx2XyKeL/tkv/JNUC7NkI/or3EHfAw7f6cI + zhO9JMW2VhHKtIRx4iMh1ilatL1+VSu3h/Ks+dro9/90+uNyvpjl6QxrP3OCf3xn+Q5QSwECFAMU + AAAACAAAAD8AYV1JOk8BAACPBAAAEwAAAAAAAAAAAAAAgIEAAAAAW0NvbnRlbnRfVHlwZXNdLnht + bFBLAQIUAxQAAAAIAAAAPwDyn0na6QAAAEsCAAALAAAAAAAAAAAAAACAgYABAABfcmVscy8ucmVs + c1BLAQIUAxQAAAAIAAAAPwBEdVvw6AAAALkCAAAaAAAAAAAAAAAAAACAgZICAAB4bC9fcmVscy93 + b3JrYm9vay54bWwucmVsc1BLAQIUAxQAAAAIAAAAPwCnMD5CWwcAAFAjAAAYAAAAAAAAAAAAAACA + gbIDAAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQSwECFAMUAAAACAAAAD8ACOLM+UwBAAApAgAA + DwAAAAAAAAAAAAAAgIFDCwAAeGwvd29ya2Jvb2sueG1sUEsBAhQDFAAAAAgAAAA/AFuHc1QPAgAA + LAYAABQAAAAAAAAAAAAAAICBvAwAAHhsL3NoYXJlZFN0cmluZ3MueG1sUEsBAhQDFAAAAAgAAAA/ + AIKDdGQeAwAAhRMAAA0AAAAAAAAAAAAAAICB/Q4AAHhsL3N0eWxlcy54bWxQSwECFAMUAAAACAAA + AD8AGPpGVLAFAABSGwAAEwAAAAAAAAAAAAAAgIFGEgAAeGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIU + AxQAAAAIAAAAPwBSuHfaJAEAAFACAAARAAAAAAAAAAAAAACAgScYAABkb2NQcm9wcy9jb3JlLnht + bFBLAQIUAxQAAAAIAAAAPwAEcUVjewEAABMDAAAQAAAAAAAAAAAAAACAgXoZAABkb2NQcm9wcy9h + cHAueG1sUEsFBgAAAAAKAAoAgAIAACMbAAAAAA== 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 8e0e12cd1..45d3c25fc 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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:37 relationships: createdBy: data: @@ -195,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2024-01-11 13:32 + createdAt: 2024-01-25 12:37 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: 2024-01-11 13:32 + createdAt: 2024-01-25 12:37 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: 0bd8ebe8e8ee75f00e319005c3262c26350f83de + executionResult: 127b128bd0d5b4cf45d7a6ec2758d9e2f421fb35 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0bd8ebe8e8ee75f00e319005c3262c26350f83de?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/127b128bd0d5b4cf45d7a6ec2758d9e2f421fb35?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -448,34 +448,32 @@ interactions: X-XSS-Protection: - 1 ; mode=block content-length: - - '1394' + - '1323' body: string: data: - - - 57 - - 177.33901960784314 - - - 65 - - 116.33793103448276 - - - 60 - - 112.81109090909091 - - - 48 - - 136.54933333333332 + - - 61 + - 150.10735849056604 + - - 70 + - 110.63396825396825 + - - 53 + - 164.63276595744682 + - - 54 + - 247.32333333333332 + - - 58 + - 113.54166666666667 + - - 76 + - 213.47925373134328 + - - 95 + - 167.58869047619046 + - - 110 + - 237.2503 + - - 91 + - 154.40761904761905 + - - 59 + - 307.9370909090909 - - 63 - - 369.3692156862745 - - - 55 - - 84.3002 - - - 87 - - 249.6326923076923 - - - 87 - - 208.97644736842105 - - - 73 - - 177.2809375 - - - 56 - - 170.1824 - - - 88 - - 178.174875 - - - 65 - - 174.79036363636362 + - 252.81866666666667 dimensionHeaders: - headerGroups: - headers: @@ -512,9 +510,6 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 - - attributeHeader: - labelValue: 2024-01 - primaryLabelValue: 2024-01 - headerGroups: - headers: - measureHeader: @@ -524,19 +519,19 @@ interactions: grandTotals: [] paging: count: - - 12 + - 11 - 2 offset: - 0 - 0 total: - - 12 + - 11 - 2 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 0bd8ebe8e8ee75f00e319005c3262c26350f83de + executionResult: 127b128bd0d5b4cf45d7a6ec2758d9e2f421fb35 fileName: Customers Trend format: XLSX customOverride: @@ -621,10 +616,81 @@ interactions: - 1 ; mode=block body: string: - exportResult: 06a03a7d2e4ef099b5d1beb5cf1e74ab2ee7fcf1 + exportResult: f27228b3bc17c642753e37cf9c23875d834d09e4 + - request: + method: GET + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/f27228b3bc17c642753e37cf9c23875d834d09e4 + body: null + headers: + Accept: + - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv + Accept-Encoding: + - br, gzip, deflate + X-GDC-VALIDATE-RELATIONS: + - 'true' + X-Requested-With: + - XMLHttpRequest + response: + status: + code: 202 + message: Accepted + headers: + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Expose-Headers: + - Content-Disposition, Content-Length, Content-Range, Set-Cookie + Cache-Control: + - no-cache, no-store, max-age=0, must-revalidate + Connection: + - keep-alive + Content-Length: + - '0' + 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 + src.litix.io matomo.anywhere.gooddata.com *.jquery.com unpkg.com cdn.jsdelivr.net + cdnjs.cloudflare.com; img-src ''self'' data: blob: *.wistia.com *.wistia.net + *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net privacy-policy.truste.com + www.gooddata.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com + cdn.jsdelivr.net fast.fonts.net; font-src ''self'' data: fonts.gstatic.com + *.alicdn.com *.wistia.com cdn.jsdelivr.net info.gooddata.com; frame-src + ''self'' *.hsforms.net *.hsforms.com; object-src ''none''; worker-src + ''self'' blob:; child-src blob:; connect-src ''self'' *.tiles.mapbox.com + *.mapbox.com *.litix.io *.wistia.com *.hsforms.net *.hsforms.com embedwistia-a.akamaihd.net + matomo.anywhere.gooddata.com; media-src ''self'' blob: data: *.wistia.com + *.wistia.net embedwistia-a.akamaihd.net' + DATE: *id001 + Expires: + - '0' + GoodData-Deployment: + - aio + Permission-Policy: + - geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera + 'none'; magnetometer 'none'; gyroscope 'none'; fullscreen 'none'; payment + 'none'; + Pragma: + - no-cache + Referrer-Policy: + - no-referrer + Server: + - nginx + Set-Cookie: + - SPRING_REDIRECT_URI=; Path=/; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 + GMT; HttpOnly; SameSite=Lax + Vary: + - Origin + - Access-Control-Request-Method + - Access-Control-Request-Headers + X-Content-Type-Options: + - nosniff + X-GDC-TRACE-ID: *id001 + X-XSS-Protection: + - 1 ; mode=block + body: + string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/06a03a7d2e4ef099b5d1beb5cf1e74ab2ee7fcf1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/f27228b3bc17c642753e37cf9c23875d834d09e4 body: null headers: Accept: @@ -695,7 +761,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/06a03a7d2e4ef099b5d1beb5cf1e74ab2ee7fcf1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/f27228b3bc17c642753e37cf9c23875d834d09e4 body: null headers: Accept: @@ -724,7 +790,7 @@ interactions: Content-Disposition: - attachment; filename*=UTF-8''Customers%20Trend.xlsx Content-Length: - - '6146' + - '6121' 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 +852,95 @@ interactions: tLZMbElot2n99xEJTR0IoQefxIzYmQe7683P0IsDJuqCV1AVJQj0JtjOtwo+d2+PzyCItbe6Dx4V jEiwqR/W79hrzjPkukgih3hS4Jjji5RkHA6aihDR558mpEFzlqmVUZu9blEuyvJJpmkG1FeZYmsV pK2tQOzGiP/JDk3TGXwN5mtAzzcq5HdIe3KInEN1apEVXCySp6cqcirI2zCLOWE4z+IfyEmezbsM - yzkZiMc+L/QCcdb36lez1jud0H5wytc2pZjavzDy6uLqI1BLAwQUAAAACAAAAD8A/eKaKOUCAAAs - CQAAGAAAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbI2WW2+bMBiG7/crEPcDnw9RkqppVW0Xk6Yd - r11wElTAEbhN9+9nIEld40wLCjJ8p4cX+zPLm9emTl5011emXaUwA2mi28KUVbtbpT9/PHwUadJb - 1ZaqNq1epX90n96sPyyPpnvq91rbxCVo+1W6t/awyPO+2OtG9Zk56NZZtqZrlHWX3S7vD51W5RjU - 1DkCgOWNqtp0yrDo/ieH2W6rQt+b4rnRrZ2SdLpW1uH3++rQp+tlWTnb8DxJp7er9BYu7iBO8/Vy - LP2r0sfeGydWPX7XtS6sLp0AaTI82aMxT4Pxs7sFhtB8FvswUn3tklJv1XNtv5njJ13t9tYloUNI - Yep+PCdN1Y6ZG/U6VahKu3cjnlEOMEQ0TYrn3prm98lwCp8C0SkQvwWyjCDKxZXIfKo8Ut4rq9bL - zhyTbizdH9TwsuACO6GK4ebtcHe0OfJBvpc1WuYvQ5qTx2byQJ4HeO9xN3lgzwNePHJX/YKAogho - DCdeOA4QJg862igPqk9GNtXlPMNYAigZ4ILgKxw4yoHHRNzjIAHH5CFGG6MBx2SUE4d7SRhziSHA - hAgk4hwkykFmHEGpDfH0YOHbIL4eEGUCQiDPR5yDRjnojIMFHNTTg4iAg/p6YJZRIvHlF+dgUQ42 - 4wimwIb5egST5455emAmM/dHkDLBECc0zsGjHHzGETzyhnt60HB+cE8PQTIMAIpXF9HqYlZdBtWF - p4IIV4nwVEBEZgwjpwMGfDjHOWSUQ844YDADN9KTYQYiPRkQEJnkjBCOmSDoymqFIN65wJwEhr0L - eJrwcGacrG+tAwkgMb8yKeCVBgrnGLMWCv2JwUIM6K8UDjIoELnCEO+gEM0Zwh4K/SYqwsUK33dR - kUFOxFUl4v0TzhsoDDso/GcLhe96KCcZlwCz8xHA5N4Wd1A7/UV1u6rtk1pvXX2QOY5u2pHHsTWH - ceTa0qOxbtM8X+3dZ4nuhitXfWuMPV8Mm+nlQ2f9F1BLAwQUAAAACAAAAD8A7236q08BAAAvAgAA - DwAAAHhsL3dvcmtib29rLnhtbI1Ry07DMBC88xWW7zQPJRGtmlSigKiEgENpzybeNFb9iGyHtH/P - OlUK3Dh5Z3Z3NLNerk5Kki+wThhd0mQWUwK6NlzoQ0k/tk+3d5Q4zzRn0mgo6RkcXVU3y8HY46cx - R4L72pW09b5bRJGrW1DMzUwHGjuNsYp5hPYQuc4C464F8EpGaRwXkWJC04vCwv5HwzSNqOHB1L0C - 7S8iFiTz6N61onO0WjZCwu4SiLCue2UKbZ8kJZI5/8iFB17SDKEZ4A9h++6+FzKAPM5pVF1DvlvC - oWG99Fu0NqnjudIsTYswGaZ2Agb3sxQgOe2F5mYoaZrhZc8TSnJKhrHeC+5bJIp4fuWeQRxaX9J5 - UcRBPPqlPt5veokew617541CU2RrQXP8sNDcYJAEUy0EFnbDk1Fq2q+ZrDFWeMbBNMuTOSVNL+Ua - uTf9YtgoEJamSNU3UEsDBBQAAAAIAAAAPwAPLYE44gAAAB0CAAAUAAAAeGwvc2hhcmVkU3RyaW5n - cy54bWxt0c1qxCAQwPF7n0K8J5rsR7fFuIdCn6A9B0lmN0IcU2cS2revS2Epi0d/8xcVzfk7zGKD - RD5iJ5taSwE4xNHjtZOfH+/VSQpih6ObI0Inf4Dk2T4ZIhZ5K1InJ+blVSkaJgiO6rgA5sklpuA4 - L9NV0ZLAjTQBcJhVq/VRBedRiiGuyPnYgxQr+q8V3u5gDXlr2Lpwoz5eejew36AfVuIY8o2NYmvU - rforE2yAK/QLpHv02IyOoQ4ReXqctLrdVbot867M+zIfynws83OZT2V+KXKjy9yUufTKfaX/1Sr/ - r/0FUEsDBBQAAAAIAAAAPwAf9bHeAwMAAA8RAAANAAAAeGwvc3R5bGVzLnhtbM1Y0W6bMBR931dY - 7utWSJpm2QRUWyWkSVs1qd20V4MNsWZsZEyU9OtnYwjQkYYmWRd4wL7ce8659o1t4t2sMwZWRBZU - cB9OLl0ICI8Fpjz14Y+H8N0CgkIhjhETnPhwQwp4E7zxCrVh5H5JiAIagRc+XCqVf3ScIl6SDBWX - Iidcv0mEzJDSXZk6RS4JwoUJypgzdd25kyHKYeDxMgszVYBYlFxpGVsTsI8vWBvnMwgs3K3AWsrF - 24sLFzqB59ThgZcI3qJcQ2sIvOIRrBDTEBPjHgsmJFBaJjFU2sJRRqzHLWI0ktQYE5RRtrHmqTFU - mdV+GeVCVtyWoc+zaGlkGvkwDN3q6nP9JBIjjga5hmEv3b+A7dUHXp0CeOGa+5TAwyM+ArN6mNml - jPVnVxsCL0dKEclD3QF1+2GTayauK9bCVH57vFOJNpPp9fiAQjCKjYr0dnjgovoF5ZisiS5hXcEG - vYN4JFc7+6/A5Zr7pVzVQ89dJCTWq0wzewvYmAKPkUTpcEnTpXkqkRsOoZTIdANTlAqOmCFoIkZE - gmqB8qFa0vg3bEoQlUrUFehYv/0E+5GMV09FJ4TDnb8rR3ueXq5zNkpGcndGbz935fY0sx2+w0k9 - J+WlY9zAYqQ3NTxeMD9I7zHVsBfwP+v8t7UytCocWgd1Qy9pMWHs3uD9Snonl3XSObW45szCt029 - GNZNC2M7Br+LZrG7sO5BuGCdbAl2RU92RE/aaIDynG1CYRO0vc+VY9v/xGjKM9KMAWq6YCkkfdSh - ZlM30wfNaVPR2PT11FS5r5Pd+qatvmlX3/R5fWYTOoXaQ+VdnYe8q1beVVfe7HXkjZnr+lxv9c52 - VOP1U713ZRYRGVafAx3dx9dotWp0hcfag8gjtM/PU/uIKnl//lUyO7pKTpDFSWpmdnTNvEImTr0x - dXa/3t63tQLzhefDOyOYdZKJSsoU5QP7nsbE63bLq94qFDHSZ9EYmCSoZOph+9KHbfsbwbTMPmy9 - vtOVULVX2/5q8pzMKwXtXxnBH1BLAwQUAAAACAAAAD8AGPpGVLAFAABSGwAAEwAAAHhsL3RoZW1l - L3RoZW1lMS54bWztWU2P20QYvvMrRr63jhM7za6arTbZpIXttqvdtKjHiT2xpxl7rJnJbnND7REJ - CVEQFyRuHBBQqZW4lF+zUARF6l/g9UeS8WayzbaLALU5JJ7x835/+B3n6rUHMUNHREjKk7blXK5Z - iCQ+D2gStq07g/6lloWkwkmAGU9I25oSaV3b+uAq3lQRiQkC8kRu4rYVKZVu2rb0YRvLyzwlCdwb - cRFjBUsR2oHAx8A2Zna9VmvaMaaJhRIcA9fboxH1CRpkLK2tGfMeg69EyWzDZ+LQzyXqFDk2GDvZ - j5zKLhPoCLO2BXICfjwgD5SFGJYKbrStWv6x7K2r9pyIqRW0Gl0//5R0JUEwrud0IhzOCZ2+u3Fl - Z86/XvBfxvV6vW7PmfPLAdj3wVJnCev2W05nxlMDFZfLvLs1r+ZW8Rr/xhJ+o9PpeBsVfGOBd5fw - rVrT3a5X8O4C7y3r39nudpsVvLfAN5fw/SsbTbeKz0ERo8l4CZ3Fcx6ZOWTE2Q0jvAXw1iwBFihb - y66CPlGrci3G97noAyAPLlY0QWqakhH2AdfF8VBQnAnAmwRrd4otXy5tZbKQ9AVNVdv6KMVQEQvI - q+c/vHr+FL16/uTk4bOThz+fPHp08vAnA+ENnIQ64cvvPv/rm0/Qn0+/ffn4SzNe6vjffvz011++ - MAOVDnzx1ZPfnz158fVnf3z/2ADfFniowwc0JhLdIsfogMdgm0EAGYrzUQwiTCsUOAKkAdhTUQV4 - a4qZCdchVefdFdAATMDrk/sVXQ8jMVHUANyN4gpwj3PW4cJozm4mSzdnkoRm4WKi4w4wPjLJ7p4K - bW+SQiZTE8tuRCpq7jOINg5JQhTK7vExIQaye5RW/LpHfcElHyl0j6IOpkaXDOhQmYlu0BjiMjUp - CKGu+GbvLupwZmK/Q46qSCgIzEwsCau48TqeKBwbNcYx05E3sYpMSh5OhV9xuFQQ6ZAwjnoBkdJE - c1tMK+ruYuhExrDvsWlcRQpFxybkTcy5jtzh426E49SoM00iHfuhHEOKYrTPlVEJXq2QbA1xwMnK - cN+lRJ2vrO/QMDInSHZnIsquXem/MU3OasaMQjd+34xn8G14NJlK4nQLXoX7HzbeHTxJ9gnk+vu+ - +77vvot9d1Utr9ttFw3W1ufinF+8ckgeUcYO1ZSRmzJvzRKUDvqwmS9yovlMnkZwWYqr4EKB82sk - uPqYqugwwimIcXIJoSxZhxKlXMJJwFrJOz9OUjA+3/NmZ0BAY7XHg2K7oZ8N52zyVSh1QY2MwbrC - GlfeTphTANeU5nhmad6Z0mzNm1ANCGcHf6dZL0RDxmBGgszvBYNZWC48RDLCASlj5BgNcRpruq31 - eq9p0jYabydtnSDp4twV4rwLiFJtKUr2cjmypLpCx6CVV/cs5OO0bY1gkoLLOAV+MmtAmIVJ2/JV - acpri/m0wea0dGorDa6ISIVUO1hGBVV+a/bqJFnoX/fczA8XY4ChG62nRaPl/Ita2KdDS0Yj4qsV - O4tleY9PFBGHUXCMhmwiDjDo7RbZFVAJz4z6bCGgQt0y8aqVX1bB6Vc0ZXVglka47EktLfYFPL+e - 65CvNPXsFbq/oSmNCzTFe3dNyTIXxtZGkB+oYAwQGGU52ra4UBGHLpRG1O8LGBxyWaAXgrLIVEIs - e9+c6UqOFn2r4FE0uTBSBzREgkKnU5EgZF+Vdr6GmVPXn68zRmWfmasr0+J3SI4IG2TV28zst1A0 - 6yalI3Lc6aDZpuoahv3/8OTjrph8zh4PFoLc88wirtb0tUfBxtupcM5Hbd1scd1b+1GbwuEDZV/Q - uKnw2WK+HfADiD6aT5QIEvFSqyy/+eYQdG5pxmWs/tkxahGC1op4X+TwqTm7scLZZ4t7c2d7Bl97 - Z7vaXi5RWzvI5KulP5748D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwCG - rUt0JQEAAFACAAARAAAAZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LStJSxC2A23JqYFC - XVp6E9ImEbV+kNQ6efvKduwkkFOPq5n9dnZRsTqoJvkF56XRJSJZjhLQ3AipdyV6r9fpEiU+MC1Y - YzSU6Ageraq7glvKjYNXZyy4IMEnEaQ95bZE+xAsxdjzPSjms+jQUdwap1iIpdthy/g32wGe5fkD - VhCYYIHhDpjaiYhOSMEnpP1xTQ8QHEMDCnTwmGQEn70BnPI3G3rlwqlkOFq4aR3FyX3wcjK2bZu1 - 894a8xP8uXl561dNpe5OxQFVheCUO2DBuKrAl0U8XMN82MQTbyWIx2PUb7ydFhn6QCQxAB3ijsrH - /Om5XqNqls8WaU5SQmoyp4slvSdf3cir/jNQnYb8mzgChtzXn6D6A1BLAwQUAAAACAAAAD8AssAy - R34BAAAZAwAAEAAAAGRvY1Byb3BzL2FwcC54bWydUsFO6zAQvPMVke/UaYXQU+UYoQLiwNOr1ABn - 42waC8e2vNuofV+Pk6ohBU7kNDs7Gk92V9zsW5t1ENF4V7D5LGcZOO0r47YFey4fLv+wDEm5Slnv - oGAHQHYjL8Q6+gCRDGCWHBwWrCEKS85RN9AqnKW2S53ax1ZRKuOW+7o2Gu683rXgiC/y/JrDnsBV - UF2G0ZAdHZcd/da08rrPhy/lISQ/KW5DsEYrSj8p/xodPfqasvu9Biv4tCmS0Qb0Lho6yFzwaSk2 - WllYJWNZK4sg+CchHkH1M1srE1GKjpYdaPIxQ/M/TW3BsjeF0McpWKeiUY7YUXYsBmwDUpSvPr5j - A0Ao+EgOcKqdYnMl54MggXMhH4MkfB6xNGQB/9VrFemHxPNp4iEDm2Rc7ZB8m64mK2Na37egpye/ - PLLybVAuTZKP6Mm4d3wOpb9TBKe5npNi06gIVVrFOPeREI8pYLS9ftUot4XqpPne6K/g5Xjpcr6Y - 5ekbln/iBP88avkBUEsBAhQDFAAAAAgAAAA/AGFdSTpPAQAAjwQAABMAAAAAAAAAAAAAAICBAAAA - AFtDb250ZW50X1R5cGVzXS54bWxQSwECFAMUAAAACAAAAD8A8p9J2ukAAABLAgAACwAAAAAAAAAA - AAAAgIGAAQAAX3JlbHMvLnJlbHNQSwECFAMUAAAACAAAAD8ARHVb8OgAAAC5AgAAGgAAAAAAAAAA - AAAAgIGSAgAAeGwvX3JlbHMvd29ya2Jvb2sueG1sLnJlbHNQSwECFAMUAAAACAAAAD8A/eKaKOUC - AAAsCQAAGAAAAAAAAAAAAAAAgIGyAwAAeGwvd29ya3NoZWV0cy9zaGVldDEueG1sUEsBAhQDFAAA - AAgAAAA/AO9t+qtPAQAALwIAAA8AAAAAAAAAAAAAAICBzQYAAHhsL3dvcmtib29rLnhtbFBLAQIU - AxQAAAAIAAAAPwAPLYE44gAAAB0CAAAUAAAAAAAAAAAAAACAgUkIAAB4bC9zaGFyZWRTdHJpbmdz - LnhtbFBLAQIUAxQAAAAIAAAAPwAf9bHeAwMAAA8RAAANAAAAAAAAAAAAAACAgV0JAAB4bC9zdHls - ZXMueG1sUEsBAhQDFAAAAAgAAAA/ABj6RlSwBQAAUhsAABMAAAAAAAAAAAAAAICBiwwAAHhsL3Ro - ZW1lL3RoZW1lMS54bWxQSwECFAMUAAAACAAAAD8Ahq1LdCUBAABQAgAAEQAAAAAAAAAAAAAAgIFs - EgAAZG9jUHJvcHMvY29yZS54bWxQSwECFAMUAAAACAAAAD8AssAyR34BAAAZAwAAEAAAAAAAAAAA - AAAAgIHAEwAAZG9jUHJvcHMvYXBwLnhtbFBLBQYAAAAACgAKAIACAABsFQAAAAA= + yzkZiMc+L/QCcdb36lez1jud0H5wytc2pZjavzDy6uLqI1BLAwQUAAAACAAAAD8ARA3JE88CAAC3 + CAAAGAAAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbI2WW2+bMBiG7/crEPcDnw9RkqpNVW0Xk6Yd + rylxElTAEXab7d/PmKR1jSONSMjmOz28sT+zvPnTtdmLGkyj+1UOC5Bnqq/1tun3q/znj4ePIs+M + rfpt1eperfK/yuQ36w/Lkx6ezEEpm7kEvVnlB2uPi7I09UF1lSn0UfXOstNDV1k3HfalOQ6q2vqg + ri0RAKzsqqbPpwyL4X9y6N2uqdW9rp871dspyaDayjp8c2iOJl8vt42zje+TDWq3ym/hYgNRXq6X + vvSvRp1MMM5s9fhdtaq2ausEyLPxzR61fhqNn90jMIaWs9gHT/V1yLZqVz239ps+fVLN/mBdEjqG + 1Lo1/p51Te8zd9WfqUKztQc34gXlAENE86x+NlZ3v8+Gc/gUiM6B+C2QFQRRLq5EllNlT3lf2Wq9 + HPQpG3xpc6zGPwsusBOqHh/ejk+9zZGP8r2s0bJ8GdOcPe4mDxR4gPcem8kDBx7w1aN01V8RUBIB + +XAShOMIYfKg3sZgVH0ysqkuBQUEHFNBJKCMpTFwEgP7PDzAIBHG5CG8jcciTEY5YUBQMIwlE4j6 + e5qDJDnIjINGHCSQg0ZabUgoByOOA3FGJeWEMJHmoEkOOuNgEQcN9KCRWBsa6IEILzDCb1eagyU5 + 2IyDRxws1ENEHCzUA+KCEsguF09z8CQHn3FEpe54uD4isTY81MNxEC7d4uAYYnJND5HkEDMOGXGI + QA8ZLZ6NeLc+XBMSgklAOINux6Q5ZJJDzjhgtCfuZCAIjK0bGSqCeYEouCIEBOneBeYIMO5eIBQj + 7h1n66V5kIIAL4SX40oTg1caKZzDzFopDHeMjGFgIAgGvJCYA3n5XYFJt1SI5jBxU4XvumrcRmDY + VhFFhYDi6r4pg9PmWO3Vl2rYN73JWrVz9UHhOIbpcPRjq49+5FrEo7bu/LrMDu4LQQ3jzHXTndb2 + MhnPtddvjvU/UEsDBBQAAAAIAAAAPwDvbfqrTwEAAC8CAAAPAAAAeGwvd29ya2Jvb2sueG1sjVHL + TsMwELzzFZbvNA8lEa2aVKKAqISAQ2nPJt40Vv2IbIe0f886VQrcOHlndnc0s16uTkqSL7BOGF3S + ZBZTAro2XOhDST+2T7d3lDjPNGfSaCjpGRxdVTfLwdjjpzFHgvvalbT1vltEkatbUMzNTAcaO42x + inmE9hC5zgLjrgXwSkZpHBeRYkLTi8LC/kfDNI2o4cHUvQLtLyIWJPPo3rWic7RaNkLC7hKIsK57 + ZQptnyQlkjn/yIUHXtIMoRngD2H77r4XMoA8zmlUXUO+W8KhYb30W7Q2qeO50ixNizAZpnYCBvez + FCA57YXmZihpmuFlzxNKckqGsd4L7lskinh+5Z5BHFpf0nlRxEE8+qU+3m96iR7DrXvnjUJTZGtB + c/yw0NxgkARTLQQWdsOTUWrar5msMVZ4xsE0y5M5JU0v5Rq5N/1i2CgQlqZI1TdQSwMEFAAAAAgA + AAA/AIb8yMvfAAAABgIAABQAAAB4bC9zaGFyZWRTdHJpbmdzLnhtbG3RQWrDMBAF0H1PIbSPJTtp + mhRZWQR6gnZthD2JBdbI1YxNevsqFEIJWur9P0hizOkWJrFCIh+xlXWlpQDs4+Dx2sqvz4/NQQpi + h4ObIkIrf4Dkyb4YIhZ5FKmVI/P8rhT1IwRHVZwBc3KJKTjOx3RVNCdwA40AHCbVaL1XwXmUoo8L + cr52J8WC/nuB8wOsIW8NWxfu1MVL53r2K3T9QhxDfrFRbI26t/6aCVbABboZ0qP03BkcQxUi8vic + NLrZbnRT5m2Zd2V+LfO+zG9lPpT5WORal7ku879fqrxI+wtQSwMEFAAAAAgAAAA/AB/1sd4DAwAA + DxEAAA0AAAB4bC9zdHlsZXMueG1szVjRbpswFH3fV1ju61ZImmbZBFRbJaRJWzWp3bRXgw2xZmxk + TJT062djCNCRhiZZF3jAvtx7zrn2jW3i3awzBlZEFlRwH04uXQgIjwWmPPXhj4fw3QKCQiGOEROc + +HBDCngTvPEKtWHkfkmIAhqBFz5cKpV/dJwiXpIMFZciJ1y/SYTMkNJdmTpFLgnChQnKmDN13bmT + Icph4PEyCzNVgFiUXGkZWxOwjy9YG+czCCzcrcBaysXbiwsXOoHn1OGBlwjeolxDawi84hGsENMQ + E+MeCyYkUFomMVTawlFGrMctYjSS1BgTlFG2seapMVSZ1X4Z5UJW3Jahz7NoaWQa+TAM3erqc/0k + EiOOBrmGYS/dv4Dt1QdenQJ44Zr7lMDDIz4Cs3qY2aWM9WdXGwIvR0oRyUPdAXX7YZNrJq4r1sJU + fnu8U4k2k+n1+IBCMIqNivR2eOCi+gXlmKyJLmFdwQa9g3gkVzv7r8DlmvulXNVDz10kJNarTDN7 + C9iYAo+RROlwSdOleSqRGw6hlMh0A1OUCo6YIWgiRkSCaoHyoVrS+DdsShCVStQV6Fi//QT7kYxX + T0UnhMOdvytHe55ernM2SkZyd0ZvP3fl9jSzHb7DST0n5aVj3MBipDc1PF4wP0jvMdWwF/A/6/y3 + tTK0KhxaB3VDL2kxYeze4P1KeieXddI5tbjmzMK3Tb0Y1k0LYzsGv4tmsbuw7kG4YJ1sCXZFT3ZE + T9pogPKcbUJhE7S9z5Vj2//EaMoz0owBarpgKSR91KFmUzfTB81pU9HY9PXUVLmvk936pq2+aVff + 9Hl9ZhM6hdpD5V2dh7yrVt5VV97sdeSNmev6XG/1znZU4/VTvXdlFhEZVp8DHd3H12i1anSFx9qD + yCO0z89T+4gqeX/+VTI7ukpOkMVJamZ2dM28QiZOvTF1dr/e3re1AvOF58M7I5h1kolKyhTlA/ue + xsTrdsur3ioUMdJn0RiYJKhk6mH70odt+xvBtMw+bL2+05VQtVfb/mrynMwrBe1fGcEfUEsDBBQA + AAAIAAAAPwAY+kZUsAUAAFIbAAATAAAAeGwvdGhlbWUvdGhlbWUxLnhtbO1ZTY/bRBi+8ytGvreO + EzvNrpqtNtmkhe22q920qMeJPbGnGXusmcluc0PtEQkJURAXJG4cEFCplbiUX7NQBEXqX+D1R5Lx + ZrLNtosAtTkknvHzfn/4HefqtQcxQ0dESMqTtuVcrlmIJD4PaBK2rTuD/qWWhaTCSYAZT0jbmhJp + Xdv64CreVBGJCQLyRG7ithUplW7atvRhG8vLPCUJ3BtxEWMFSxHagcDHwDZmdr1Wa9oxpomFEhwD + 19ujEfUJGmQsra0Z8x6Dr0TJbMNn4tDPJeoUOTYYO9mPnMouE+gIs7YFcgJ+PCAPlIUYlgputK1a + /rHsrav2nIipFbQaXT//lHQlQTCu53QiHM4Jnb67cWVnzr9e8F/G9Xq9bs+Z88sB2PfBUmcJ6/Zb + TmfGUwMVl8u8uzWv5lbxGv/GEn6j0+l4GxV8Y4F3l/CtWtPdrlfw7gLvLevf2e52mxW8t8A3l/D9 + KxtNt4rPQRGjyXgJncVzHpk5ZMTZDSO8BfDWLAEWKFvLroI+UatyLcb3uegDIA8uVjRBapqSEfYB + 18XxUFCcCcCbBGt3ii1fLm1lspD0BU1V2/ooxVARC8ir5z+8ev4UvXr+5OThs5OHP588enTy8CcD + 4Q2chDrhy+8+/+ubT9CfT799+fhLM17q+N9+/PTXX74wA5UOfPHVk9+fPXnx9Wd/fP/YAN8WeKjD + BzQmEt0ix+iAx2CbQQAZivNRDCJMKxQ4AqQB2FNRBXhripkJ1yFV590V0ABMwOuT+xVdDyMxUdQA + 3I3iCnCPc9bhwmjObiZLN2eShGbhYqLjDjA+Msnungptb5JCJlMTy25EKmruM4g2DklCFMru8TEh + BrJ7lFb8ukd9wSUfKXSPog6mRpcM6FCZiW7QGOIyNSkIoa74Zu8u6nBmYr9DjqpIKAjMTCwJq7jx + Op4oHBs1xjHTkTexikxKHk6FX3G4VBDpkDCOegGR0kRzW0wr6u5i6ETGsO+xaVxFCkXHJuRNzLmO + 3OHjboTj1KgzTSId+6EcQ4pitM+VUQlerZBsDXHAycpw36VEna+s79AwMidIdmciyq5d6b8xTc5q + xoxCN37fjGfwbXg0mUridAtehfsfNt4dPEn2CeT6+777vu++i313VS2v220XDdbW5+KcX7xySB5R + xg7VlJGbMm/NEpQO+rCZL3Ki+UyeRnBZiqvgQoHzayS4+piq6DDCKYhxcgmhLFmHEqVcwknAWsk7 + P05SMD7f82ZnQEBjtceDYruhnw3nbPJVKHVBjYzBusIaV95OmFMA15TmeGZp3pnSbM2bUA0IZwd/ + p1kvREPGYEaCzO8Fg1lYLjxEMsIBKWPkGA1xGmu6rfV6r2nSNhpvJ22dIOni3BXivAuIUm0pSvZy + ObKkukLHoJVX9yzk47RtjWCSgss4BX4ya0CYhUnb8lVpymuL+bTB5rR0aisNrohIhVQ7WEYFVX5r + 9uokWehf99zMDxdjgKEbradFo+X8i1rYp0NLRiPiqxU7i2V5j08UEYdRcIyGbCIOMOjtFtkVUAnP + jPpsIaBC3TLxqpVfVsHpVzRldWCWRrjsSS0t9gU8v57rkK809ewVur+hKY0LNMV7d03JMhfG1kaQ + H6hgDBAYZTnatrhQEYculEbU7wsYHHJZoBeCsshUQix735zpSo4WfavgUTS5MFIHNESCQqdTkSBk + X5V2voaZU9efrzNGZZ+ZqyvT4ndIjggbZNXbzOy3UDTrJqUjctzpoNmm6hqG/f/w5OOumHzOHg8W + gtzzzCKu1vS1R8HG26lwzkdt3Wxx3Vv7UZvC4QNlX9C4qfDZYr4d8AOIPppPlAgS8VKrLL/55hB0 + bmnGZaz+2TFqEYLWinhf5PCpObuxwtlni3tzZ3sGX3tnu9peLlFbO8jkq6U/nvjwPsjegYPShClZ + vE16AEfN7uwvA+BjL0i3/gZQSwMEFAAAAAgAAAA/AN/8h8MlAQAAUAIAABEAAABkb2NQcm9wcy9j + b3JlLnhtbJ2Sy07DMBBF93xF5H3iJIWCrCSVAHVFJSSCQOwse9paxA/ZhrR/j5tXWykrluN758yd + kYvVQTbRL1gntCpRlqQoAsU0F2pXovd6HT+gyHmqOG20ghIdwaFVdVMwQ5i28Gq1AesFuCiAlCPM + lGjvvSEYO7YHSV0SHCqIW20l9aG0O2wo+6Y7wHmaLrEETzn1FJ+AsZmIaEByNiHNj206AGcYGpCg + vMNZkuGz14OVbrahUy6cUvijgVnrKE7ugxOTsW3bpF101pA/w5+bl7du1Vio06kYoKrgjDAL1Gtb + FfiyCIdrqPObcOKtAP54DPrM27BI3wc8CgFIH3dUPhZPz/UaVXma38ZpFud3dZaTxT3Jl1+nkVf9 + Z6AchvybOAL63NefoPoDUEsDBBQAAAAIAAAAPwCywDJHfgEAABkDAAAQAAAAZG9jUHJvcHMvYXBw + LnhtbJ1SwU7rMBC88xWR79RphdBT5RihAuLA06vUAGfjbBoLx7a826h9X4+TqiEFTuQ0OzsaT3ZX + 3Oxbm3UQ0XhXsPksZxk47SvjtgV7Lh8u/7AMSblKWe+gYAdAdiMvxDr6AJEMYJYcHBasIQpLzlE3 + 0CqcpbZLndrHVlEq45b7ujYa7rzeteCIL/L8msOewFVQXYbRkB0dlx391rTyus+HL+UhJD8pbkOw + RitKPyn/Gh09+pqy+70GK/i0KZLRBvQuGjrIXPBpKTZaWVglY1kriyD4JyEeQfUzWysTUYqOlh1o + 8jFD8z9NbcGyN4XQxylYp6JRjthRdiwGbANSlK8+vmMDQCj4SA5wqp1icyXngyCBcyEfgyR8HrE0 + ZAH/1WsV6YfE82niIQObZFztkHybriYrY1rft6CnJ788svJtUC5Nko/oybh3fA6lv1MEp7mek2LT + qAhVWsU495EQjylgtL1+1Si3heqk+d7or+DleOlyvpjl6RuWf+IE/zxq+QFQSwECFAMUAAAACAAA + AD8AYV1JOk8BAACPBAAAEwAAAAAAAAAAAAAAgIEAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQIU + AxQAAAAIAAAAPwDyn0na6QAAAEsCAAALAAAAAAAAAAAAAACAgYABAABfcmVscy8ucmVsc1BLAQIU + AxQAAAAIAAAAPwBEdVvw6AAAALkCAAAaAAAAAAAAAAAAAACAgZICAAB4bC9fcmVscy93b3JrYm9v + ay54bWwucmVsc1BLAQIUAxQAAAAIAAAAPwBEDckTzwIAALcIAAAYAAAAAAAAAAAAAACAgbIDAAB4 + bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQSwECFAMUAAAACAAAAD8A7236q08BAAAvAgAADwAAAAAA + AAAAAAAAgIG3BgAAeGwvd29ya2Jvb2sueG1sUEsBAhQDFAAAAAgAAAA/AIb8yMvfAAAABgIAABQA + AAAAAAAAAAAAAICBMwgAAHhsL3NoYXJlZFN0cmluZ3MueG1sUEsBAhQDFAAAAAgAAAA/AB/1sd4D + AwAADxEAAA0AAAAAAAAAAAAAAICBRAkAAHhsL3N0eWxlcy54bWxQSwECFAMUAAAACAAAAD8AGPpG + VLAFAABSGwAAEwAAAAAAAAAAAAAAgIFyDAAAeGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIUAxQAAAAI + AAAAPwDf/IfDJQEAAFACAAARAAAAAAAAAAAAAACAgVMSAABkb2NQcm9wcy9jb3JlLnhtbFBLAQIU + AxQAAAAIAAAAPwCywDJHfgEAABkDAAAQAAAAAAAAAAAAAACAgacTAABkb2NQcm9wcy9hcHAueG1s + UEsFBgAAAAAKAAoAgAIAAFMVAAAAAA== diff --git a/gooddata-sdk/tests/support/fixtures/is_available.yaml b/gooddata-sdk/tests/support/fixtures/is_available.yaml index 1bf29822c..0660bbee3 100644 --- a/gooddata-sdk/tests/support/fixtures/is_available.yaml +++ b/gooddata-sdk/tests/support/fixtures/is_available.yaml @@ -43,7 +43,7 @@ interactions: *.wistia.net embedwistia-a.akamaihd.net' Content-Type: - application/json - DATE: + DATE: &id001 - PLACEHOLDER Expires: - '0' @@ -70,6 +70,7 @@ interactions: - Access-Control-Request-Headers X-Content-Type-Options: - nosniff + X-GDC-TRACE-ID: *id001 X-XSS-Protection: - 1 ; mode=block content-length: 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 ca06fa509..136ade280 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: f16ffc4d7c9161ef0b1dbc3e0306d8f40439b7b7 + executionResult: c1d0ce8592f9c1ec68dddbeceee13fd3b5f3e587 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f16ffc4d7c9161ef0b1dbc3e0306d8f40439b7b7?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c1d0ce8592f9c1ec68dddbeceee13fd3b5f3e587?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 094c53f67..2eb0be653 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: 8088f6dff3c985128d17bef122da422efd582846 + executionResult: fbb62bbc441f14e756b23f22b46da8286b246d1a - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8088f6dff3c985128d17bef122da422efd582846?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fbb62bbc441f14e756b23f22b46da8286b246d1a?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 ea117ef18..b0f71a69d 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: 5df08ece988ca1f33c3ec668f9cf16befc6e2a3b + executionResult: 326e2b492d6b6359da4696d5f1473d66d6260881 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5df08ece988ca1f33c3ec668f9cf16befc6e2a3b?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/326e2b492d6b6359da4696d5f1473d66d6260881?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -209,11 +209,11 @@ interactions: body: string: data: - - - 66.0 - - - 108.0 - - - 130.0 - - - 114.0 - - - 74.0 + - - 61.0 + - - 111.0 + - - 131.0 + - - 111.0 + - - 78.0 - - 99.0 - - 94.0 - - 104.0 @@ -249,20 +249,56 @@ interactions: - - 125.0 - - 228.0 - - 160.0 - - - 152.0 - - - 153.0 - - - 168.0 - - - 151.0 - - - 147.0 - - - 189.0 - - - 267.0 - - - 294.0 - - - 217.0 - - - 165.0 - - - 201.0 + - - 141.0 + - - 164.0 + - - 155.0 + - - 156.0 + - - 149.0 + - - 191.0 + - - 238.0 + - - 316.0 + - - 220.0 + - - 170.0 + - - 204.0 dimensionHeaders: - headerGroups: - headers: + - attributeHeader: + labelValue: 2019-10 + primaryLabelValue: 2019-10 + - attributeHeader: + labelValue: 2019-11 + primaryLabelValue: 2019-11 + - attributeHeader: + labelValue: 2019-12 + primaryLabelValue: 2019-12 + - attributeHeader: + labelValue: 2020-01 + primaryLabelValue: 2020-01 + - attributeHeader: + labelValue: 2020-02 + primaryLabelValue: 2020-02 + - attributeHeader: + labelValue: 2020-03 + primaryLabelValue: 2020-03 + - attributeHeader: + labelValue: 2020-04 + primaryLabelValue: 2020-04 + - attributeHeader: + labelValue: 2020-05 + primaryLabelValue: 2020-05 + - attributeHeader: + labelValue: 2020-06 + primaryLabelValue: 2020-06 + - attributeHeader: + labelValue: 2020-07 + primaryLabelValue: 2020-07 + - attributeHeader: + labelValue: 2020-08 + primaryLabelValue: 2020-08 + - attributeHeader: + labelValue: 2020-09 + primaryLabelValue: 2020-09 - attributeHeader: labelValue: 2020-10 primaryLabelValue: 2020-10 @@ -380,42 +416,6 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 - - attributeHeader: - labelValue: 2024-01 - primaryLabelValue: 2024-01 - - attributeHeader: - labelValue: 2024-02 - primaryLabelValue: 2024-02 - - attributeHeader: - labelValue: 2024-03 - primaryLabelValue: 2024-03 - - attributeHeader: - labelValue: 2024-04 - primaryLabelValue: 2024-04 - - attributeHeader: - labelValue: 2024-05 - primaryLabelValue: 2024-05 - - attributeHeader: - labelValue: 2024-06 - primaryLabelValue: 2024-06 - - attributeHeader: - labelValue: 2024-07 - primaryLabelValue: 2024-07 - - attributeHeader: - labelValue: 2024-08 - primaryLabelValue: 2024-08 - - attributeHeader: - labelValue: 2024-09 - primaryLabelValue: 2024-09 - - attributeHeader: - labelValue: 2024-10 - primaryLabelValue: 2024-10 - - attributeHeader: - labelValue: 2024-11 - primaryLabelValue: 2024-11 - - attributeHeader: - labelValue: 2024-12 - primaryLabelValue: 2024-12 - headerGroups: - headers: - measureHeader: @@ -570,10 +570,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: 654d1ffa9e9d1d9c492a72eb9494f3d3c896957b + executionResult: 30b3448590ba675888170d2337928bbddfc5d070 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/654d1ffa9e9d1d9c492a72eb9494f3d3c896957b?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/30b3448590ba675888170d2337928bbddfc5d070?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -692,14 +692,50 @@ interactions: - - null - - 1.0 - - null - - - 4.0 - - - 8.0 - - - 6.0 - - - 4.0 + - - 3.0 + - - 9.0 + - - 1.0 + - - 9.0 - - 5.0 dimensionHeaders: - headerGroups: - headers: + - attributeHeader: + labelValue: 2019-11 + primaryLabelValue: 2019-11 + - attributeHeader: + labelValue: 2019-12 + primaryLabelValue: 2019-12 + - attributeHeader: + labelValue: 2020-01 + primaryLabelValue: 2020-01 + - attributeHeader: + labelValue: 2020-02 + primaryLabelValue: 2020-02 + - attributeHeader: + labelValue: 2020-03 + primaryLabelValue: 2020-03 + - attributeHeader: + labelValue: 2020-04 + primaryLabelValue: 2020-04 + - attributeHeader: + labelValue: 2020-05 + primaryLabelValue: 2020-05 + - attributeHeader: + labelValue: 2020-06 + primaryLabelValue: 2020-06 + - attributeHeader: + labelValue: 2020-07 + primaryLabelValue: 2020-07 + - attributeHeader: + labelValue: 2020-08 + primaryLabelValue: 2020-08 + - attributeHeader: + labelValue: 2020-09 + primaryLabelValue: 2020-09 + - attributeHeader: + labelValue: 2020-10 + primaryLabelValue: 2020-10 - attributeHeader: labelValue: 2020-11 primaryLabelValue: 2020-11 @@ -814,42 +850,6 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 - - attributeHeader: - labelValue: 2024-01 - primaryLabelValue: 2024-01 - - attributeHeader: - labelValue: 2024-02 - primaryLabelValue: 2024-02 - - attributeHeader: - labelValue: 2024-03 - primaryLabelValue: 2024-03 - - attributeHeader: - labelValue: 2024-04 - primaryLabelValue: 2024-04 - - attributeHeader: - labelValue: 2024-05 - primaryLabelValue: 2024-05 - - attributeHeader: - labelValue: 2024-06 - primaryLabelValue: 2024-06 - - attributeHeader: - labelValue: 2024-07 - primaryLabelValue: 2024-07 - - attributeHeader: - labelValue: 2024-08 - primaryLabelValue: 2024-08 - - attributeHeader: - labelValue: 2024-09 - primaryLabelValue: 2024-09 - - attributeHeader: - labelValue: 2024-10 - primaryLabelValue: 2024-10 - - attributeHeader: - labelValue: 2024-11 - primaryLabelValue: 2024-11 - - attributeHeader: - labelValue: 2024-12 - primaryLabelValue: 2024-12 - headerGroups: - headers: - measureHeader: @@ -1004,10 +1004,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: 784be3fa913515c503bee8f1a81f43a26694a0ab + executionResult: d630f484d42b0a4c3fda9d5b638feafe87f8bee2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/784be3fa913515c503bee8f1a81f43a26694a0ab?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d630f484d42b0a4c3fda9d5b638feafe87f8bee2?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -1107,65 +1107,89 @@ interactions: - - 10.0 - - 3.0 - - 1.0 - - - 4.0 - - - 8.0 - - - 6.0 - - - 4.0 + - - 3.0 + - - 9.0 + - - 1.0 + - - 9.0 - - 5.0 dimensionHeaders: - headerGroups: - headers: + - attributeHeader: + labelValue: 2019-11 + primaryLabelValue: 2019-11 + - attributeHeader: + labelValue: 2019-12 + primaryLabelValue: 2019-12 + - attributeHeader: + labelValue: 2020-01 + primaryLabelValue: 2020-01 + - attributeHeader: + labelValue: 2020-02 + primaryLabelValue: 2020-02 + - attributeHeader: + labelValue: 2020-04 + primaryLabelValue: 2020-04 + - attributeHeader: + labelValue: 2020-09 + primaryLabelValue: 2020-09 - attributeHeader: labelValue: 2020-11 primaryLabelValue: 2020-11 - attributeHeader: labelValue: 2020-12 primaryLabelValue: 2020-12 - - attributeHeader: - labelValue: 2021-01 - primaryLabelValue: 2021-01 - attributeHeader: labelValue: 2021-02 primaryLabelValue: 2021-02 + - attributeHeader: + labelValue: 2021-03 + primaryLabelValue: 2021-03 - attributeHeader: labelValue: 2021-04 primaryLabelValue: 2021-04 - attributeHeader: - labelValue: 2021-09 - primaryLabelValue: 2021-09 + labelValue: 2021-05 + primaryLabelValue: 2021-05 + - attributeHeader: + labelValue: 2021-08 + primaryLabelValue: 2021-08 + - attributeHeader: + labelValue: 2021-10 + primaryLabelValue: 2021-10 - attributeHeader: labelValue: 2021-11 primaryLabelValue: 2021-11 - - attributeHeader: - labelValue: 2021-12 - primaryLabelValue: 2021-12 - attributeHeader: labelValue: 2022-02 primaryLabelValue: 2022-02 - - attributeHeader: - labelValue: 2022-03 - primaryLabelValue: 2022-03 - - attributeHeader: - labelValue: 2022-04 - primaryLabelValue: 2022-04 - attributeHeader: labelValue: 2022-05 primaryLabelValue: 2022-05 + - attributeHeader: + labelValue: 2022-06 + primaryLabelValue: 2022-06 - attributeHeader: labelValue: 2022-08 primaryLabelValue: 2022-08 + - attributeHeader: + labelValue: 2022-09 + primaryLabelValue: 2022-09 - attributeHeader: labelValue: 2022-10 primaryLabelValue: 2022-10 - attributeHeader: labelValue: 2022-11 primaryLabelValue: 2022-11 + - attributeHeader: + labelValue: 2022-12 + primaryLabelValue: 2022-12 + - attributeHeader: + labelValue: 2023-01 + primaryLabelValue: 2023-01 - attributeHeader: labelValue: 2023-02 primaryLabelValue: 2023-02 - - attributeHeader: - labelValue: 2023-05 - primaryLabelValue: 2023-05 - attributeHeader: labelValue: 2023-06 primaryLabelValue: 2023-06 @@ -1184,30 +1208,6 @@ interactions: - attributeHeader: labelValue: 2023-12 primaryLabelValue: 2023-12 - - attributeHeader: - labelValue: 2024-01 - primaryLabelValue: 2024-01 - - attributeHeader: - labelValue: 2024-02 - primaryLabelValue: 2024-02 - - attributeHeader: - labelValue: 2024-06 - primaryLabelValue: 2024-06 - - attributeHeader: - labelValue: 2024-08 - primaryLabelValue: 2024-08 - - attributeHeader: - labelValue: 2024-09 - primaryLabelValue: 2024-09 - - attributeHeader: - labelValue: 2024-10 - primaryLabelValue: 2024-10 - - attributeHeader: - labelValue: 2024-11 - primaryLabelValue: 2024-11 - - attributeHeader: - labelValue: 2024-12 - primaryLabelValue: 2024-12 - headerGroups: - headers: - measureHeader: 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 deb0607d8..6f0245fe7 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: 2d3e1c9bb44c11afb25683305ba01b89c9d5453c + executionResult: 02333ca01b02ab66bb33be3915ea7a9f08935aed - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d3e1c9bb44c11afb25683305ba01b89c9d5453c?offset=0&limit=512 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/02333ca01b02ab66bb33be3915ea7a9f08935aed?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 a275009c6..85664bd4f 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: 7965c914228fcaed60c004f0c9daef5fb6ae98cd + executionResult: b821584b344c569a2b36985d335615091110b694 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7965c914228fcaed60c004f0c9daef5fb6ae98cd?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b821584b344c569a2b36985d335615091110b694?offset=0&limit=256 body: null headers: Accept: diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index d7f3cbe93..f921cc711 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -782,7 +782,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", @@ -926,7 +926,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 ], [ @@ -971,7 +971,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 857d46c8c..f13f02fac 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -2677,7 +2677,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "example": "TIMEZONE", "type": "string" @@ -3701,7 +3702,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", @@ -3908,7 +3909,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 ], [ @@ -3953,7 +3954,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 ], [ @@ -9917,7 +9918,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -9978,7 +9980,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -10071,7 +10074,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -11498,7 +11502,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -11559,7 +11564,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -13125,7 +13131,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -13186,7 +13193,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -13305,7 +13313,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -13366,7 +13375,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -14272,7 +14282,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "example": "TIMEZONE", "type": "string" diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 0c702aae9..e08c7a24c 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -1897,7 +1897,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "example": "TIMEZONE", "type": "string" @@ -8590,7 +8591,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -8651,7 +8653,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -8744,7 +8747,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -10171,7 +10175,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -10232,7 +10237,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -11798,7 +11804,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -11859,7 +11866,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -11978,7 +11986,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -12039,7 +12048,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "type": "string" } @@ -12490,7 +12500,8 @@ "MAPBOX_TOKEN", "WEEK_START", "SHOW_HIDDEN_CATALOG_ITEMS", - "OPERATOR_OVERRIDES" + "OPERATOR_OVERRIDES", + "TIMEZONE_VALIDATION_ENABLED" ], "example": "TIMEZONE", "type": "string" @@ -26082,10 +26093,6 @@ } }, "servers": [ - { - "description": "Generated server url", - "url": "http://localhost:3000" - }, { "description": "GoodData.CN endpoint", "url": "/" diff --git a/tests-support/fixtures/demo_declarative_hierarchy.json b/tests-support/fixtures/demo_declarative_hierarchy.json index 53b3daa7f..cde44a80a 100644 --- a/tests-support/fixtures/demo_declarative_hierarchy.json +++ b/tests-support/fixtures/demo_declarative_hierarchy.json @@ -829,9 +829,9 @@ "type": "dataset" } }, - "from": -11, + "from": -12, "granularity": "GDC.time.month", - "to": 0 + "to": -1 } } ],