From d484e7a4d797be7a769da3da37454df833522873 Mon Sep 17 00:00:00 2001 From: Jan Kadlec Date: Fri, 17 Jan 2025 13:43:04 +0100 Subject: [PATCH] perf: rewrite data access in gooddata-pandas data_access.py had poor performance because it loaded all attributes. The new implementation fetches only the necessary ones which should perform better on bigger workspaces. JIRA: STL-1036 risk: low --- .../gooddata_pandas/data_access.py | 9 +- ...ame_for_exec_def_bytes_limits_failure.yaml | 16 +- ...or_exec_def_dimensions_limits_failure.yaml | 16 +- .../dataframe_for_exec_def_one_dim1.yaml | 26 +- .../dataframe_for_exec_def_one_dim2.yaml | 50 +- .../dataframe_for_exec_def_totals1.yaml | 26 +- .../dataframe_for_exec_def_totals2.yaml | 26 +- .../dataframe_for_exec_def_totals3.yaml | 26 +- .../dataframe_for_exec_def_totals4.yaml | 26 +- .../dataframe_for_exec_def_two_dim1.yaml | 36 +- .../dataframe_for_exec_def_two_dim2.yaml | 34 +- .../dataframe_for_exec_def_two_dim3.yaml | 26 +- .../fixtures/dataframe_for_items.yaml | 1232 +-------------- .../dataframe_for_items_no_index.yaml | 1232 +-------------- .../fixtures/dataframe_for_visualization.yaml | 1257 +--------------- .../dataframe_for_visualization_date.yaml | 1327 +---------------- .../dataframe_for_visualization_no_index.yaml | 1257 +--------------- .../fixtures/empty_indexed_dataframe.yaml | 1269 +--------------- .../fixtures/empty_not_indexed_dataframe.yaml | 1269 +--------------- .../dataframe/fixtures/filtered_empty_df.yaml | 10 +- ...ulti_index_filtered_metrics_and_label.yaml | 1230 +-------------- ...ndex_filtered_metrics_and_label_reuse.yaml | 1232 +-------------- .../fixtures/multi_index_metrics.yaml | 1232 +-------------- .../multi_index_metrics_and_label.yaml | 1230 +-------------- ...t_indexed_filtered_metrics_and_labels.yaml | 1269 +--------------- .../fixtures/not_indexed_metrics.yaml | 10 +- .../not_indexed_metrics_and_labels.yaml | 1269 +--------------- ...mple_index_filtered_metrics_and_label.yaml | 1232 +-------------- .../fixtures/simple_index_metrics.yaml | 1232 +-------------- .../simple_index_metrics_and_label.yaml | 1269 +--------------- .../simple_index_metrics_no_duplicate.yaml | 1269 +--------------- .../fixtures/multi_index_filtered_series.yaml | 1232 +-------------- .../fixtures/multi_index_metric_series.yaml | 1232 +-------------- .../not_indexed_filtered_metric_series.yaml | 18 +- .../fixtures/not_indexed_label_series.yaml | 1269 +--------------- ...indexed_label_series_with_granularity.yaml | 1232 +-------------- .../fixtures/not_indexed_metric_series.yaml | 10 +- ...ndexed_metric_series_with_granularity.yaml | 1269 +--------------- .../simple_index_filtered_series.yaml | 1232 +-------------- .../fixtures/simple_index_label_series.yaml | 1269 +--------------- .../fixtures/simple_index_metric_series.yaml | 1269 +--------------- .../catalog/workspace/content_service.py | 8 +- gooddata-sdk/gooddata_sdk/utils.py | 15 +- 43 files changed, 892 insertions(+), 30807 deletions(-) diff --git a/gooddata-pandas/gooddata_pandas/data_access.py b/gooddata-pandas/gooddata_pandas/data_access.py index 442d00c8d..25a63dad1 100644 --- a/gooddata-pandas/gooddata_pandas/data_access.py +++ b/gooddata-pandas/gooddata_pandas/data_access.py @@ -16,7 +16,7 @@ ObjId, TableDimension, ) -from gooddata_sdk.utils import IdObjType +from gooddata_sdk.utils import IdObjType, filter_for_attributes_labels from gooddata_pandas.utils import ( ColumnsDef, @@ -446,7 +446,12 @@ def compute_and_extract( if not exec_def.has_attributes(): return _extract_for_metrics_only(response, cols, col_to_metric_idx), dict() else: - attributes = sdk.catalog_workspace_content.get_attributes_catalog(workspace_id, include=["labels", "datasets"]) + filter_query = filter_for_attributes_labels(exec_def.attributes) + # if there is to many labels then all attributes are fetched and no rsql filter is used + # it prevention again 414 Request-URI Too Long + attributes = sdk.catalog_workspace_content.get_attributes_catalog( + workspace_id, include=["labels", "datasets"], rsql_filter=filter_query + ) return _extract_from_attributes_and_maybe_metrics( response, attributes, 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 97ed6c5a2..01de2aa40 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -121,7 +121,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -182,10 +182,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b/metadata body: null headers: Accept: @@ -252,7 +252,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -355,7 +355,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b resultSpec: dimensions: - localIdentifier: dim_0 @@ -372,7 +372,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -439,7 +439,7 @@ interactions: content-length: - '11295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 97ed6c5a2..01de2aa40 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -121,7 +121,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -182,10 +182,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b/metadata body: null headers: Accept: @@ -252,7 +252,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -355,7 +355,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b resultSpec: dimensions: - localIdentifier: dim_0 @@ -372,7 +372,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -439,7 +439,7 @@ interactions: content-length: - '11295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 614ee164a..b857835d0 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -119,7 +119,7 @@ interactions: content-length: - '1179' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:22 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -178,10 +178,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: c06b00baf3852d8d1dac66f3231bb224be66a113:b65c60a7f92636c16bbfded9b076ffad6173f12cde8ded544841547a3601e995 + executionResult: 528df9e31711404e621a8003f018633ae97a3d06:5952200aa148f8ef7216a496c7c5ab3c89b429a937ddefdc6722ff86de6ccb4d - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c06b00baf3852d8d1dac66f3231bb224be66a113%3Ab65c60a7f92636c16bbfded9b076ffad6173f12cde8ded544841547a3601e995/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/528df9e31711404e621a8003f018633ae97a3d06%3A5952200aa148f8ef7216a496c7c5ab3c89b429a937ddefdc6722ff86de6ccb4d/metadata body: null headers: Accept: @@ -248,7 +248,7 @@ interactions: content-length: - '2067' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:22 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -349,7 +349,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: c06b00baf3852d8d1dac66f3231bb224be66a113:b65c60a7f92636c16bbfded9b076ffad6173f12cde8ded544841547a3601e995 + executionResult: 528df9e31711404e621a8003f018633ae97a3d06:5952200aa148f8ef7216a496c7c5ab3c89b429a937ddefdc6722ff86de6ccb4d resultSpec: dimensions: - localIdentifier: dim_0 @@ -363,7 +363,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c06b00baf3852d8d1dac66f3231bb224be66a113%3Ab65c60a7f92636c16bbfded9b076ffad6173f12cde8ded544841547a3601e995?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/528df9e31711404e621a8003f018633ae97a3d06%3A5952200aa148f8ef7216a496c7c5ab3c89b429a937ddefdc6722ff86de6ccb4d?offset=0&limit=500 body: null headers: Accept: @@ -430,7 +430,7 @@ interactions: content-length: - '98918' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:22 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -4819,7 +4819,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c06b00baf3852d8d1dac66f3231bb224be66a113%3Ab65c60a7f92636c16bbfded9b076ffad6173f12cde8ded544841547a3601e995/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/528df9e31711404e621a8003f018633ae97a3d06%3A5952200aa148f8ef7216a496c7c5ab3c89b429a937ddefdc6722ff86de6ccb4d/metadata body: null headers: Accept: @@ -4886,7 +4886,7 @@ interactions: content-length: - '2067' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:22 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -4987,7 +4987,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: c06b00baf3852d8d1dac66f3231bb224be66a113:b65c60a7f92636c16bbfded9b076ffad6173f12cde8ded544841547a3601e995 + executionResult: 528df9e31711404e621a8003f018633ae97a3d06:5952200aa148f8ef7216a496c7c5ab3c89b429a937ddefdc6722ff86de6ccb4d resultSpec: dimensions: - localIdentifier: dim_0 @@ -5001,7 +5001,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c06b00baf3852d8d1dac66f3231bb224be66a113%3Ab65c60a7f92636c16bbfded9b076ffad6173f12cde8ded544841547a3601e995?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/528df9e31711404e621a8003f018633ae97a3d06%3A5952200aa148f8ef7216a496c7c5ab3c89b429a937ddefdc6722ff86de6ccb4d?offset=0&limit=500 body: null headers: Accept: @@ -5068,7 +5068,7 @@ interactions: content-length: - '98918' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:22 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 a2029d067..5d692b7f4 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -121,7 +121,7 @@ interactions: content-length: - '1220' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:23 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -182,10 +182,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: a01781b10aa2cb820f1845d8b99185beaabb49a2:c9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7 + executionResult: 84ce784ddb62c4c44ec67b27cbfef6b26098b352:347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e/metadata body: null headers: Accept: @@ -252,7 +252,7 @@ interactions: content-length: - '2170' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:23 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -355,7 +355,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: a01781b10aa2cb820f1845d8b99185beaabb49a2:c9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7 + executionResult: 84ce784ddb62c4c44ec67b27cbfef6b26098b352:347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e resultSpec: dimensions: - localIdentifier: dim_0 @@ -372,7 +372,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -439,7 +439,7 @@ interactions: content-length: - '27491' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:23 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1664,7 +1664,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -1731,7 +1731,7 @@ interactions: content-length: - '27723' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:23 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2956,7 +2956,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -3023,7 +3023,7 @@ interactions: content-length: - '27251' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:23 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -4248,7 +4248,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C300&limit=100%2C100 body: null headers: Accept: @@ -4315,7 +4315,7 @@ interactions: content-length: - '17095' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:23 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -5108,7 +5108,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e/metadata body: null headers: Accept: @@ -5175,7 +5175,7 @@ interactions: content-length: - '2170' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:24 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -5278,7 +5278,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: a01781b10aa2cb820f1845d8b99185beaabb49a2:c9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7 + executionResult: 84ce784ddb62c4c44ec67b27cbfef6b26098b352:347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e resultSpec: dimensions: - localIdentifier: dim_0 @@ -5295,7 +5295,7 @@ interactions: resultSize: 2913 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -5362,7 +5362,7 @@ interactions: content-length: - '27491' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:24 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:56 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -6587,7 +6587,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C100&limit=100%2C100 body: null headers: Accept: @@ -6654,7 +6654,7 @@ interactions: content-length: - '27723' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:24 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -7879,7 +7879,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C200&limit=100%2C100 body: null headers: Accept: @@ -7946,7 +7946,7 @@ interactions: content-length: - '27251' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:24 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -9171,7 +9171,7 @@ interactions: - 364 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a01781b10aa2cb820f1845d8b99185beaabb49a2%3Ac9c27373e7c1818243953040281df11027586dab035789af9549794076d442c7?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84ce784ddb62c4c44ec67b27cbfef6b26098b352%3A347a8e3961003825b675c82e3551462485b1eec466a74aabe16fa6fe6c663b6e?offset=0%2C300&limit=100%2C100 body: null headers: Accept: @@ -9238,7 +9238,7 @@ interactions: content-length: - '17095' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:24 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 3f5f81fbb..c118ceece 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -140,7 +140,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -201,10 +201,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 901afe48fcbff3ceca7ccdbff9985a622e99d54d:ebe3de2061d4ed77dbe99fdbe5ba34d02a2683b95106e179374dfddd36dfbf97 + executionResult: 0680fe1f7237d8d51a8374d28b16b944f7bc07b6:47f23394a65ce1c67c8f3d9b96c32503533864759a0776b43bb7ec63211dfa66 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/901afe48fcbff3ceca7ccdbff9985a622e99d54d%3Aebe3de2061d4ed77dbe99fdbe5ba34d02a2683b95106e179374dfddd36dfbf97/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0680fe1f7237d8d51a8374d28b16b944f7bc07b6%3A47f23394a65ce1c67c8f3d9b96c32503533864759a0776b43bb7ec63211dfa66/metadata body: null headers: Accept: @@ -271,7 +271,7 @@ interactions: content-length: - '2528' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -374,7 +374,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 901afe48fcbff3ceca7ccdbff9985a622e99d54d:ebe3de2061d4ed77dbe99fdbe5ba34d02a2683b95106e179374dfddd36dfbf97 + executionResult: 0680fe1f7237d8d51a8374d28b16b944f7bc07b6:47f23394a65ce1c67c8f3d9b96c32503533864759a0776b43bb7ec63211dfa66 resultSpec: dimensions: - localIdentifier: dim_0 @@ -409,7 +409,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/901afe48fcbff3ceca7ccdbff9985a622e99d54d%3Aebe3de2061d4ed77dbe99fdbe5ba34d02a2683b95106e179374dfddd36dfbf97?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0680fe1f7237d8d51a8374d28b16b944f7bc07b6%3A47f23394a65ce1c67c8f3d9b96c32503533864759a0776b43bb7ec63211dfa66?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -476,7 +476,7 @@ interactions: content-length: - '22911' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1867,7 +1867,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/901afe48fcbff3ceca7ccdbff9985a622e99d54d%3Aebe3de2061d4ed77dbe99fdbe5ba34d02a2683b95106e179374dfddd36dfbf97/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0680fe1f7237d8d51a8374d28b16b944f7bc07b6%3A47f23394a65ce1c67c8f3d9b96c32503533864759a0776b43bb7ec63211dfa66/metadata body: null headers: Accept: @@ -1934,7 +1934,7 @@ interactions: content-length: - '2528' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2037,7 +2037,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 901afe48fcbff3ceca7ccdbff9985a622e99d54d:ebe3de2061d4ed77dbe99fdbe5ba34d02a2683b95106e179374dfddd36dfbf97 + executionResult: 0680fe1f7237d8d51a8374d28b16b944f7bc07b6:47f23394a65ce1c67c8f3d9b96c32503533864759a0776b43bb7ec63211dfa66 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2072,7 +2072,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/901afe48fcbff3ceca7ccdbff9985a622e99d54d%3Aebe3de2061d4ed77dbe99fdbe5ba34d02a2683b95106e179374dfddd36dfbf97?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0680fe1f7237d8d51a8374d28b16b944f7bc07b6%3A47f23394a65ce1c67c8f3d9b96c32503533864759a0776b43bb7ec63211dfa66?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2139,7 +2139,7 @@ interactions: content-length: - '22911' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 d5dbb5d89..e7f5b9b43 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -138,7 +138,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -199,10 +199,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 134d71d1eab4352a53c3b8ab40479700345488aa:76e162dca073c362b39151aabb18f7242b75ae687b2299f9d5b01c1d783411a2 + executionResult: a2a9ac803c174ab21306a723478c6fc605d7206e:b5899aad7e94ba7c7c53c8721b42192860ea7301393f863d474f1da048acb333 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/134d71d1eab4352a53c3b8ab40479700345488aa%3A76e162dca073c362b39151aabb18f7242b75ae687b2299f9d5b01c1d783411a2/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a2a9ac803c174ab21306a723478c6fc605d7206e%3Ab5899aad7e94ba7c7c53c8721b42192860ea7301393f863d474f1da048acb333/metadata body: null headers: Accept: @@ -269,7 +269,7 @@ interactions: content-length: - '2511' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -372,7 +372,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 134d71d1eab4352a53c3b8ab40479700345488aa:76e162dca073c362b39151aabb18f7242b75ae687b2299f9d5b01c1d783411a2 + executionResult: a2a9ac803c174ab21306a723478c6fc605d7206e:b5899aad7e94ba7c7c53c8721b42192860ea7301393f863d474f1da048acb333 resultSpec: dimensions: - localIdentifier: dim_0 @@ -405,7 +405,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/134d71d1eab4352a53c3b8ab40479700345488aa%3A76e162dca073c362b39151aabb18f7242b75ae687b2299f9d5b01c1d783411a2?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a2a9ac803c174ab21306a723478c6fc605d7206e%3Ab5899aad7e94ba7c7c53c8721b42192860ea7301393f863d474f1da048acb333?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -472,7 +472,7 @@ interactions: content-length: - '24535' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2918,7 +2918,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/134d71d1eab4352a53c3b8ab40479700345488aa%3A76e162dca073c362b39151aabb18f7242b75ae687b2299f9d5b01c1d783411a2/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a2a9ac803c174ab21306a723478c6fc605d7206e%3Ab5899aad7e94ba7c7c53c8721b42192860ea7301393f863d474f1da048acb333/metadata body: null headers: Accept: @@ -2985,7 +2985,7 @@ interactions: content-length: - '2511' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -3088,7 +3088,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 134d71d1eab4352a53c3b8ab40479700345488aa:76e162dca073c362b39151aabb18f7242b75ae687b2299f9d5b01c1d783411a2 + executionResult: a2a9ac803c174ab21306a723478c6fc605d7206e:b5899aad7e94ba7c7c53c8721b42192860ea7301393f863d474f1da048acb333 resultSpec: dimensions: - localIdentifier: dim_0 @@ -3121,7 +3121,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/134d71d1eab4352a53c3b8ab40479700345488aa%3A76e162dca073c362b39151aabb18f7242b75ae687b2299f9d5b01c1d783411a2?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a2a9ac803c174ab21306a723478c6fc605d7206e%3Ab5899aad7e94ba7c7c53c8721b42192860ea7301393f863d474f1da048acb333?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -3188,7 +3188,7 @@ interactions: content-length: - '24535' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:20 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 2e3fcbea9..db8ec3e8f 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -140,7 +140,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -201,10 +201,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: b51533ad390b7ee4eb8651181edbe2c381d5e5e3:38b120db14d2d5ce62e652af32fc1bb0e9bb2186e6993356f3e14e39aaf78750 + executionResult: 43bb969dfd7659d117959cfc708d63010310f1b3:384f2d10d40f5d0d5cea24db928aa91e1ab0377f98ceaf5938d580b1f52ff4c5 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b51533ad390b7ee4eb8651181edbe2c381d5e5e3%3A38b120db14d2d5ce62e652af32fc1bb0e9bb2186e6993356f3e14e39aaf78750/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43bb969dfd7659d117959cfc708d63010310f1b3%3A384f2d10d40f5d0d5cea24db928aa91e1ab0377f98ceaf5938d580b1f52ff4c5/metadata body: null headers: Accept: @@ -271,7 +271,7 @@ interactions: content-length: - '2528' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -374,7 +374,7 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: b51533ad390b7ee4eb8651181edbe2c381d5e5e3:38b120db14d2d5ce62e652af32fc1bb0e9bb2186e6993356f3e14e39aaf78750 + executionResult: 43bb969dfd7659d117959cfc708d63010310f1b3:384f2d10d40f5d0d5cea24db928aa91e1ab0377f98ceaf5938d580b1f52ff4c5 resultSpec: dimensions: - localIdentifier: dim_0 @@ -409,7 +409,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b51533ad390b7ee4eb8651181edbe2c381d5e5e3%3A38b120db14d2d5ce62e652af32fc1bb0e9bb2186e6993356f3e14e39aaf78750?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43bb969dfd7659d117959cfc708d63010310f1b3%3A384f2d10d40f5d0d5cea24db928aa91e1ab0377f98ceaf5938d580b1f52ff4c5?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -476,7 +476,7 @@ interactions: content-length: - '23283' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1867,7 +1867,7 @@ interactions: - 4 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b51533ad390b7ee4eb8651181edbe2c381d5e5e3%3A38b120db14d2d5ce62e652af32fc1bb0e9bb2186e6993356f3e14e39aaf78750/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43bb969dfd7659d117959cfc708d63010310f1b3%3A384f2d10d40f5d0d5cea24db928aa91e1ab0377f98ceaf5938d580b1f52ff4c5/metadata body: null headers: Accept: @@ -1934,7 +1934,7 @@ interactions: content-length: - '2528' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2037,7 +2037,7 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: b51533ad390b7ee4eb8651181edbe2c381d5e5e3:38b120db14d2d5ce62e652af32fc1bb0e9bb2186e6993356f3e14e39aaf78750 + executionResult: 43bb969dfd7659d117959cfc708d63010310f1b3:384f2d10d40f5d0d5cea24db928aa91e1ab0377f98ceaf5938d580b1f52ff4c5 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2072,7 +2072,7 @@ interactions: resultSize: 4770 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b51533ad390b7ee4eb8651181edbe2c381d5e5e3%3A38b120db14d2d5ce62e652af32fc1bb0e9bb2186e6993356f3e14e39aaf78750?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/43bb969dfd7659d117959cfc708d63010310f1b3%3A384f2d10d40f5d0d5cea24db928aa91e1ab0377f98ceaf5938d580b1f52ff4c5?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2139,7 +2139,7 @@ interactions: content-length: - '23283' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 942d524f6..7cb9fe261 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -138,7 +138,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -199,10 +199,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: fbfac3f2c103a90ec86fd86648e6b95f56fbea7d:2c8cdca9c5d097d32854040b4dcd80fcbed16377652798ecb517ef07a29dbfa4 + executionResult: 4a1a6a478a3838bfcfcf13ec251eb0ea1caf1d94:381cca0c7d5b1d98f21b0b136bf22a27aff662d0c33b7f831b5856db4374ae42 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fbfac3f2c103a90ec86fd86648e6b95f56fbea7d%3A2c8cdca9c5d097d32854040b4dcd80fcbed16377652798ecb517ef07a29dbfa4/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4a1a6a478a3838bfcfcf13ec251eb0ea1caf1d94%3A381cca0c7d5b1d98f21b0b136bf22a27aff662d0c33b7f831b5856db4374ae42/metadata body: null headers: Accept: @@ -269,7 +269,7 @@ interactions: content-length: - '2511' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -372,7 +372,7 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: fbfac3f2c103a90ec86fd86648e6b95f56fbea7d:2c8cdca9c5d097d32854040b4dcd80fcbed16377652798ecb517ef07a29dbfa4 + executionResult: 4a1a6a478a3838bfcfcf13ec251eb0ea1caf1d94:381cca0c7d5b1d98f21b0b136bf22a27aff662d0c33b7f831b5856db4374ae42 resultSpec: dimensions: - localIdentifier: dim_0 @@ -405,7 +405,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fbfac3f2c103a90ec86fd86648e6b95f56fbea7d%3A2c8cdca9c5d097d32854040b4dcd80fcbed16377652798ecb517ef07a29dbfa4?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4a1a6a478a3838bfcfcf13ec251eb0ea1caf1d94%3A381cca0c7d5b1d98f21b0b136bf22a27aff662d0c33b7f831b5856db4374ae42?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -472,7 +472,7 @@ interactions: content-length: - '24881' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2918,7 +2918,7 @@ interactions: - 17 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fbfac3f2c103a90ec86fd86648e6b95f56fbea7d%3A2c8cdca9c5d097d32854040b4dcd80fcbed16377652798ecb517ef07a29dbfa4/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4a1a6a478a3838bfcfcf13ec251eb0ea1caf1d94%3A381cca0c7d5b1d98f21b0b136bf22a27aff662d0c33b7f831b5856db4374ae42/metadata body: null headers: Accept: @@ -2985,7 +2985,7 @@ interactions: content-length: - '2511' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -3088,7 +3088,7 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: fbfac3f2c103a90ec86fd86648e6b95f56fbea7d:2c8cdca9c5d097d32854040b4dcd80fcbed16377652798ecb517ef07a29dbfa4 + executionResult: 4a1a6a478a3838bfcfcf13ec251eb0ea1caf1d94:381cca0c7d5b1d98f21b0b136bf22a27aff662d0c33b7f831b5856db4374ae42 resultSpec: dimensions: - localIdentifier: dim_0 @@ -3121,7 +3121,7 @@ interactions: resultSize: 15292 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fbfac3f2c103a90ec86fd86648e6b95f56fbea7d%3A2c8cdca9c5d097d32854040b4dcd80fcbed16377652798ecb517ef07a29dbfa4?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4a1a6a478a3838bfcfcf13ec251eb0ea1caf1d94%3A381cca0c7d5b1d98f21b0b136bf22a27aff662d0c33b7f831b5856db4374ae42?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -3188,7 +3188,7 @@ interactions: content-length: - '24881' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:21 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:55 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 f31ebd7e6..1a4eeea15 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -121,7 +121,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:17 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:52 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -182,10 +182,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b/metadata body: null headers: Accept: @@ -252,7 +252,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:17 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:52 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -355,7 +355,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b resultSpec: dimensions: - localIdentifier: dim_0 @@ -372,7 +372,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -439,7 +439,7 @@ interactions: content-length: - '11295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:17 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:52 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1176,7 +1176,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b/metadata body: null headers: Accept: @@ -1243,7 +1243,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:17 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:52 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1346,7 +1346,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b resultSpec: dimensions: - localIdentifier: dim_0 @@ -1363,7 +1363,7 @@ interactions: resultSize: 4237 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1430,7 +1430,7 @@ interactions: content-length: - '11295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:17 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:52 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2167,7 +2167,7 @@ interactions: - 8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b/metadata body: null headers: Accept: @@ -2234,7 +2234,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:17 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:52 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2337,7 +2337,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7ee8ce1d028718cc038ddca8930ed19b19f8aac4:5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3 + executionResult: 5a031a05a194b8c615d6ca8e5c09fae3da44b4a3:9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b 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/7ee8ce1d028718cc038ddca8930ed19b19f8aac4%3A5fd6ab8e4c7d54aae4276edb69e6ffd56d3a906b81a84bf3bb12e1ac75d3e4e3?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5a031a05a194b8c615d6ca8e5c09fae3da44b4a3%3A9ac5d29e15fc8f507cf76124ecc28f23748c22bd65d839a3907ae0a4adc38c2b?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2421,7 +2421,7 @@ interactions: content-length: - '11295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:17 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:52 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 1f53df0e9..e0392cbdc 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -121,7 +121,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -182,10 +182,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0d16d2b14ce6837767a0e1366811dd3303e01a48:a656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef + executionResult: 057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2:b3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0d16d2b14ce6837767a0e1366811dd3303e01a48%3Aa656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2%3Ab3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59/metadata body: null headers: Accept: @@ -252,7 +252,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -355,7 +355,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0d16d2b14ce6837767a0e1366811dd3303e01a48:a656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef + executionResult: 057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2:b3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59 resultSpec: dimensions: - localIdentifier: dim_0 @@ -372,7 +372,7 @@ interactions: resultSize: 9257 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0d16d2b14ce6837767a0e1366811dd3303e01a48%3Aa656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2%3Ab3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -439,7 +439,7 @@ interactions: content-length: - '24936' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1568,7 +1568,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0d16d2b14ce6837767a0e1366811dd3303e01a48%3Aa656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2%3Ab3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59?offset=100%2C0&limit=100%2C100 body: null headers: Accept: @@ -1635,7 +1635,7 @@ interactions: content-length: - '19988' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2566,7 +2566,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0d16d2b14ce6837767a0e1366811dd3303e01a48%3Aa656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2%3Ab3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59/metadata body: null headers: Accept: @@ -2633,7 +2633,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -2736,7 +2736,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 0d16d2b14ce6837767a0e1366811dd3303e01a48:a656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef + executionResult: 057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2:b3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59 resultSpec: dimensions: - localIdentifier: dim_0 @@ -2753,7 +2753,7 @@ interactions: resultSize: 9257 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0d16d2b14ce6837767a0e1366811dd3303e01a48%3Aa656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2%3Ab3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -2820,7 +2820,7 @@ interactions: content-length: - '24936' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -3949,7 +3949,7 @@ interactions: - 2 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0d16d2b14ce6837767a0e1366811dd3303e01a48%3Aa656a728b3d6137c5156b5fa971c8ca0d15801bf35028c5238af1c30a10647ef?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/057bbd8cfe0bf3db2fe1a02169b07ad3961fbfa2%3Ab3121176003ae5655a0e941753ae7b522f04204c448f4dccaff167443188aa59?offset=100%2C0&limit=100%2C100 body: null headers: Accept: @@ -4016,7 +4016,7 @@ interactions: content-length: - '19988' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:18 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:53 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 c1f1996f7..5966df09b 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -121,7 +121,7 @@ interactions: content-length: - '1219' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:19 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -182,10 +182,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: c0d3f99ac025ee852c254fa8266d36d330773e5b:d3cec2868b6c54aafe391424a1618c7247c4bcd0d9dfa7191069d0442a865ea8 + executionResult: b8b059ac5801f7dcd12bb4260ddcb9252d4b3e23:51c2c048d26843b7b1f25c4b1a8f5d142e01616477c45bd916bd524bb4936135 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c0d3f99ac025ee852c254fa8266d36d330773e5b%3Ad3cec2868b6c54aafe391424a1618c7247c4bcd0d9dfa7191069d0442a865ea8/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b8b059ac5801f7dcd12bb4260ddcb9252d4b3e23%3A51c2c048d26843b7b1f25c4b1a8f5d142e01616477c45bd916bd524bb4936135/metadata body: null headers: Accept: @@ -252,7 +252,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:19 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -355,7 +355,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: c0d3f99ac025ee852c254fa8266d36d330773e5b:d3cec2868b6c54aafe391424a1618c7247c4bcd0d9dfa7191069d0442a865ea8 + executionResult: b8b059ac5801f7dcd12bb4260ddcb9252d4b3e23:51c2c048d26843b7b1f25c4b1a8f5d142e01616477c45bd916bd524bb4936135 resultSpec: dimensions: - localIdentifier: dim_0 @@ -372,7 +372,7 @@ interactions: resultSize: 3136 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c0d3f99ac025ee852c254fa8266d36d330773e5b%3Ad3cec2868b6c54aafe391424a1618c7247c4bcd0d9dfa7191069d0442a865ea8?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b8b059ac5801f7dcd12bb4260ddcb9252d4b3e23%3A51c2c048d26843b7b1f25c4b1a8f5d142e01616477c45bd916bd524bb4936135?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -439,7 +439,7 @@ interactions: content-length: - '21409' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:19 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1628,7 +1628,7 @@ interactions: - 96 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c0d3f99ac025ee852c254fa8266d36d330773e5b%3Ad3cec2868b6c54aafe391424a1618c7247c4bcd0d9dfa7191069d0442a865ea8/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b8b059ac5801f7dcd12bb4260ddcb9252d4b3e23%3A51c2c048d26843b7b1f25c4b1a8f5d142e01616477c45bd916bd524bb4936135/metadata body: null headers: Accept: @@ -1695,7 +1695,7 @@ interactions: content-length: - '2168' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:19 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -1798,7 +1798,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: c0d3f99ac025ee852c254fa8266d36d330773e5b:d3cec2868b6c54aafe391424a1618c7247c4bcd0d9dfa7191069d0442a865ea8 + executionResult: b8b059ac5801f7dcd12bb4260ddcb9252d4b3e23:51c2c048d26843b7b1f25c4b1a8f5d142e01616477c45bd916bd524bb4936135 resultSpec: dimensions: - localIdentifier: dim_0 @@ -1815,7 +1815,7 @@ interactions: resultSize: 3136 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c0d3f99ac025ee852c254fa8266d36d330773e5b%3Ad3cec2868b6c54aafe391424a1618c7247c4bcd0d9dfa7191069d0442a865ea8?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b8b059ac5801f7dcd12bb4260ddcb9252d4b3e23%3A51c2c048d26843b7b1f25c4b1a8f5d142e01616477c45bd916bd524bb4936135?offset=0%2C0&limit=100%2C100 body: null headers: Accept: @@ -1882,7 +1882,7 @@ interactions: content-length: - '21409' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:19 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:54 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml index 7b1366479..c39a2498e 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -115,7 +115,7 @@ interactions: content-length: - '949' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -161,10 +161,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 961e64aeceb3a15ca6e8b65cef7b7e5c1b842bb1:117792301a7219271939521adf7b4085f0281208ecbf5c3f1eba9b32a28a3533 + executionResult: b2923909d09398e0183b53596fdc69800871e5d3:c9619ee133708096044e2169fd3ee4bd49623e2306dc54f4e3145e48a81d023a - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -189,7 +189,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -229,1061 +229,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1327,88 +328,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1426,107 +345,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/961e64aeceb3a15ca6e8b65cef7b7e5c1b842bb1%3A117792301a7219271939521adf7b4085f0281208ecbf5c3f1eba9b32a28a3533?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b2923909d09398e0183b53596fdc69800871e5d3%3Ac9619ee133708096044e2169fd3ee4bd49623e2306dc54f4e3145e48a81d023a?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1593,7 +417,7 @@ interactions: content-length: - '3098' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 7b1366479..c39a2498e 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -115,7 +115,7 @@ interactions: content-length: - '949' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -161,10 +161,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 961e64aeceb3a15ca6e8b65cef7b7e5c1b842bb1:117792301a7219271939521adf7b4085f0281208ecbf5c3f1eba9b32a28a3533 + executionResult: b2923909d09398e0183b53596fdc69800871e5d3:c9619ee133708096044e2169fd3ee4bd49623e2306dc54f4e3145e48a81d023a - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -189,7 +189,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -229,1061 +229,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1327,88 +328,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1426,107 +345,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/961e64aeceb3a15ca6e8b65cef7b7e5c1b842bb1%3A117792301a7219271939521adf7b4085f0281208ecbf5c3f1eba9b32a28a3533?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b2923909d09398e0183b53596fdc69800871e5d3%3Ac9619ee133708096044e2169fd3ee4bd49623e2306dc54f4e3145e48a81d023a?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1593,7 +417,7 @@ interactions: content-length: - '3098' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization.yaml index 1f6bf3e4a..f54bd99be 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -69,7 +69,7 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -172,7 +172,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 relationships: createdBy: data: @@ -219,7 +219,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -272,7 +272,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -426,7 +426,7 @@ interactions: content-length: - '1235' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -476,10 +476,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: d5a771e9906bd8b8fc71d3a673486178cf245b06:e6af04dc9d4af0da9630749aef24aa531c38d6b2030048d97979c4024d71ce48 + executionResult: baf95c7bb9d3d1d3a1a1df72f4ecd638d489e42d:4c0c41e57c838aac38159c0071379ecc9316d72b17a2f377f36a457c96ab333a - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28products.category%2Cproduct_name%29&page=0&size=500 body: null headers: Accept: @@ -504,7 +504,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2400' 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 @@ -544,775 +544,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: product_name type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: product_name 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_name meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1326,309 +613,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - - id: customers - type: dataset - attributes: - title: Customers - description: Customers - tags: - - Customers - grain: - - id: customer_id - type: attribute - dataSourceTableId: demo-test-ds:customers - dataSourceTablePath: - - demo - - customers - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - - id: region - type: label - attributes: - title: Region - description: Region - tags: - - Customers - primary: true - sourceColumn: region - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - id: products.category type: label attributes: @@ -1642,88 +626,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1741,107 +643,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27product_name%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27product_name%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d5a771e9906bd8b8fc71d3a673486178cf245b06%3Ae6af04dc9d4af0da9630749aef24aa531c38d6b2030048d97979c4024d71ce48?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/baf95c7bb9d3d1d3a1a1df72f4ecd638d489e42d%3A4c0c41e57c838aac38159c0071379ecc9316d72b17a2f377f36a457c96ab333a?offset=0%2C0&limit=4%2C1000 body: null headers: Accept: @@ -1908,7 +715,7 @@ interactions: content-length: - '4024' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_date.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_date.yaml index af5268244..48d9dcaf3 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_date.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_date.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -28,7 +28,7 @@ interactions: Connection: - keep-alive Content-Length: - - '3321' + - '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 @@ -69,7 +69,7 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -121,9 +121,9 @@ interactions: identifier: id: date type: dataset - from: -11 + from: -12 granularity: GDC.time.month - to: 0 + to: -1 properties: controls: colorMapping: @@ -149,7 +149,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 relationships: createdBy: data: @@ -183,7 +183,6 @@ interactions: type: dataset attributes: title: Date - description: '' tags: - Date type: DATE @@ -193,7 +192,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -203,7 +202,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -239,9 +238,9 @@ interactions: identifier: id: date type: dataset - from: -11 + from: -12 granularity: MONTH - to: 0 + to: -1 measures: - definition: measure: @@ -336,7 +335,7 @@ interactions: content-length: - '843' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -371,10 +370,10 @@ interactions: pattern: MMM y localIdentifier: dim_1 links: - executionResult: 48be312dac51028013470739733a59cd6cc8b7a1:8c946a32fa2fad5ca3549b80dfc23572927c1f643589e319175919fe9082254e + executionResult: 716db741a8c03b8e4261e740c0b7fbecc1420487:bbdf4ca731d8908e179334c61d69211d806c14d33f7b4a6175e5cb5e50628d94 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28date.month%29&page=0&size=500 body: null headers: Accept: @@ -399,7 +398,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1244' 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 @@ -439,736 +438,19 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: date.month type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date - granularity: QUARTER_OF_YEAR + granularity: MONTH areRelationsValid: true relationships: dataset: @@ -1177,566 +459,41 @@ interactions: type: dataset labels: data: - - id: date.quarterOfYear + - id: date.month type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarterOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - - id: customers - type: dataset - attributes: - title: Customers - description: Customers - tags: - - Customers - grain: - - id: customer_id - type: attribute - dataSourceTableId: demo-test-ds:customers - dataSourceTablePath: - - demo - - customers - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - - id: region - type: label - attributes: - title: Region - description: Region - tags: - - Customers - primary: true - sourceColumn: region - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - id: date type: dataset attributes: title: Date - description: '' tags: - Date type: DATE links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year + - id: date.month type: label attributes: - title: Date - Year - description: Year + title: Date - Month/Year + description: Month and Year (12/2020) tags: - Date primary: true sourceColumn: '' links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27date.month%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27date.month%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/48be312dac51028013470739733a59cd6cc8b7a1%3A8c946a32fa2fad5ca3549b80dfc23572927c1f643589e319175919fe9082254e?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/716db741a8c03b8e4261e740c0b7fbecc1420487%3Abbdf4ca731d8908e179334c61d69211d806c14d33f7b4a6175e5cb5e50628d94?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1801,16 +558,14 @@ interactions: X-XSS-Protection: - '0' content-length: - - '1382' + - '1398' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:25 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:57 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - - 56 - - 88 - - 65 + - - 65 - 66 - 65 - 56 @@ -1820,9 +575,9 @@ interactions: - 99 - 107 - 91 - - - 170.1824 - - 178.174875 - - 174.79036363636362 + - 56 + - 61 + - - 174.79036363636362 - 146.0419298245614 - 111.88542372881356 - 184.2714 @@ -1832,6 +587,8 @@ interactions: - 194.15443181818182 - 215.70928571428573 - 152.4380487804878 + - 348.0577777777778 + - 227.9498275862069 dimensionHeaders: - headerGroups: - headers: @@ -1841,12 +598,6 @@ interactions: measureIndex: 1 - headerGroups: - headers: - - attributeHeader: - labelValue: 2023-11 - primaryLabelValue: 2023-11 - - attributeHeader: - labelValue: 2023-12 - primaryLabelValue: 2023-12 - attributeHeader: labelValue: 2024-01 primaryLabelValue: 2024-01 @@ -1877,6 +628,12 @@ interactions: - attributeHeader: labelValue: 2024-10 primaryLabelValue: 2024-10 + - attributeHeader: + labelValue: 2024-11 + primaryLabelValue: 2024-11 + - attributeHeader: + labelValue: 2024-12 + primaryLabelValue: 2024-12 grandTotals: [] paging: count: diff --git a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_no_index.yaml b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_no_index.yaml index 01113108a..25fe5f0aa 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_no_index.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_visualization_no_index.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -69,7 +69,7 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -172,7 +172,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 relationships: createdBy: data: @@ -219,7 +219,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -272,7 +272,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2024-10-07 11:17 + createdAt: 2025-01-17 12:21 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -426,7 +426,7 @@ interactions: content-length: - '1235' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -476,10 +476,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: d5a771e9906bd8b8fc71d3a673486178cf245b06:e6af04dc9d4af0da9630749aef24aa531c38d6b2030048d97979c4024d71ce48 + executionResult: baf95c7bb9d3d1d3a1a1df72f4ecd638d489e42d:4c0c41e57c838aac38159c0071379ecc9316d72b17a2f377f36a457c96ab333a - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28products.category%2Cproduct_name%29&page=0&size=500 body: null headers: Accept: @@ -504,7 +504,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2400' 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 @@ -544,775 +544,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: product_name type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: product_name 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_name meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -1326,309 +613,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - - id: customers - type: dataset - attributes: - title: Customers - description: Customers - tags: - - Customers - grain: - - id: customer_id - type: attribute - dataSourceTableId: demo-test-ds:customers - dataSourceTablePath: - - demo - - customers - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - - id: region - type: label - attributes: - title: Region - description: Region - tags: - - Customers - primary: true - sourceColumn: region - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - id: products.category type: label attributes: @@ -1642,88 +626,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1741,107 +643,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27product_name%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27product_name%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d5a771e9906bd8b8fc71d3a673486178cf245b06%3Ae6af04dc9d4af0da9630749aef24aa531c38d6b2030048d97979c4024d71ce48?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/baf95c7bb9d3d1d3a1a1df72f4ecd638d489e42d%3A4c0c41e57c838aac38159c0071379ecc9316d72b17a2f377f36a457c96ab333a?offset=0%2C0&limit=4%2C1000 body: null headers: Accept: @@ -1908,7 +715,7 @@ interactions: content-length: - '4024' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:26 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml index d8e5cd620..e4fa1e410 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -108,7 +108,7 @@ interactions: content-length: - '810' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -141,10 +141,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 717ba473452905758c2c735a50fcf54ae183bc14:0f3a8ff1ff729b519d4666fd1faa894c07d235e846e7d2821707fdec41b96507 + executionResult: edeb5fa8ad799e890171815810736f1048fcfe36:170fad358e69328c6f86e8b2ceb7ae1c5f9551d096145b1a483e34f089d75b09 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28product_name%29&page=0&size=500 body: null headers: Accept: @@ -169,7 +169,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1517' 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 @@ -209,775 +209,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: product_name type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: product_name 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_name meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -991,404 +253,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - - id: customers - type: dataset - attributes: - title: Customers - description: Customers - tags: - - Customers - grain: - - id: customer_id - type: attribute - dataSourceTableId: demo-test-ds:customers - dataSourceTablePath: - - demo - - customers - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - - id: region - type: label - attributes: - title: Region - description: Region - tags: - - Customers - primary: true - sourceColumn: region - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1406,107 +270,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27product_name%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27product_name%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/717ba473452905758c2c735a50fcf54ae183bc14%3A0f3a8ff1ff729b519d4666fd1faa894c07d235e846e7d2821707fdec41b96507?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/edeb5fa8ad799e890171815810736f1048fcfe36%3A170fad358e69328c6f86e8b2ceb7ae1c5f9551d096145b1a483e34f089d75b09?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1573,7 +342,7 @@ interactions: content-length: - '171' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 f0954ad29..e4fa1e410 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -108,7 +108,7 @@ interactions: content-length: - '810' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -141,10 +141,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 717ba473452905758c2c735a50fcf54ae183bc14:0f3a8ff1ff729b519d4666fd1faa894c07d235e846e7d2821707fdec41b96507 + executionResult: edeb5fa8ad799e890171815810736f1048fcfe36:170fad358e69328c6f86e8b2ceb7ae1c5f9551d096145b1a483e34f089d75b09 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28product_name%29&page=0&size=500 body: null headers: Accept: @@ -169,7 +169,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1517' 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 @@ -209,775 +209,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: product_name type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Product name + description: Product name tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: product_name + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: product_name 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_name meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - id: product_name type: label attributes: @@ -991,404 +253,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - - id: customers - type: dataset - attributes: - title: Customers - description: Customers - tags: - - Customers - grain: - - id: customer_id - type: attribute - dataSourceTableId: demo-test-ds:customers - dataSourceTablePath: - - demo - - customers - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers - - id: region - type: label - attributes: - title: Region - description: Region - tags: - - Customers - primary: true - sourceColumn: region - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1406,107 +270,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27product_name%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27product_name%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/717ba473452905758c2c735a50fcf54ae183bc14%3A0f3a8ff1ff729b519d4666fd1faa894c07d235e846e7d2821707fdec41b96507?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/edeb5fa8ad799e890171815810736f1048fcfe36%3A170fad358e69328c6f86e8b2ceb7ae1c5f9551d096145b1a483e34f089d75b09?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1573,7 +342,7 @@ interactions: content-length: - '171' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/filtered_empty_df.yaml b/gooddata-pandas/tests/dataframe/fixtures/filtered_empty_df.yaml index 9d094074c..9e458cd28 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/filtered_empty_df.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/filtered_empty_df.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -99,7 +99,7 @@ interactions: content-length: - '307' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Tue, 08 Oct 2024 13:35:16 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -112,10 +112,10 @@ interactions: name: Revenue localIdentifier: dim_0 links: - executionResult: a8a633b8ec1bc44a3007020033d582740a2a95b7:6e97188bfff240406a2b583fe6e4065f304eb2250a658fcf497dc142a3377e80 + executionResult: b9c46b96d6be4d41c63fb0c91c7f03b4115ef3a3:42daabfd1e1dbca225346bca1ad77040f5e9ad6439e2bc8038fb087329cc64c1 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a8a633b8ec1bc44a3007020033d582740a2a95b7%3A6e97188bfff240406a2b583fe6e4065f304eb2250a658fcf497dc142a3377e80?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b9c46b96d6be4d41c63fb0c91c7f03b4115ef3a3%3A42daabfd1e1dbca225346bca1ad77040f5e9ad6439e2bc8038fb087329cc64c1?offset=0&limit=1 body: null headers: Accept: @@ -182,7 +182,7 @@ interactions: content-length: - '131' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Tue, 08 Oct 2024 13:35:16 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 af76eef54..ba41d2f66 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -133,7 +133,7 @@ interactions: content-length: - '1373' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -196,10 +196,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 6edcbfaf20f7e4a4297d3e50f95620b77b76b358:492afd3cb635bdbd41957c5ab8e3b42479b63e1ffee74120b754c0ab7e5bd28b + executionResult: 45b6c6a39cdc909268f34fc9f2269500a8f35ca2:81bd5674b4f0deffc82843a8d4a49f8240fa5d9f476f66f788ec6181db8ac40d - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28state%2Cregion%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -224,7 +224,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '3867' 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 @@ -264,186 +264,11 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - id: region type: attribute attributes: @@ -453,872 +278,91 @@ interactions: - Customers areRelationsValid: true sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.weekOfYear + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: state + type: label + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: products.category type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Category + description: Category tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name + - id: geo__state__location type: label attributes: - title: Customer name - description: Customer name + title: Location + description: Location tags: - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type + primary: false + sourceColumn: geo__state__location sourceColumnDataType: STRING - valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - id: customers type: dataset attributes: @@ -1349,101 +393,32 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category + - id: state type: label attributes: - title: Category - description: Category + title: State + description: State tags: - - Products + - Customers primary: true - sourceColumn: category + sourceColumn: state sourceColumnDataType: STRING valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state + - id: products.category type: label attributes: - title: Product id - description: Product id + title: Category + description: Category tags: - Products primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id + sourceColumn: category sourceColumnDataType: STRING valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - id: products type: dataset attributes: @@ -1461,107 +436,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27state%27%2C%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27state%27%2C%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6edcbfaf20f7e4a4297d3e50f95620b77b76b358%3A492afd3cb635bdbd41957c5ab8e3b42479b63e1ffee74120b754c0ab7e5bd28b?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/45b6c6a39cdc909268f34fc9f2269500a8f35ca2%3A81bd5674b4f0deffc82843a8d4a49f8240fa5d9f476f66f788ec6181db8ac40d?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1628,7 +508,7 @@ interactions: content-length: - '1005' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 0eec4360b..72e89a0a6 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -122,7 +122,7 @@ interactions: content-length: - '1087' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -170,10 +170,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: a07bc098495882d8c62454424b95c961a3d04e37:d19bcec93359c38b906951a265d31b6742ad0f6af67c67751746462b676830fd + executionResult: 6652a041962203f23daa2eb6fe20c5e4a070b02d:9c42f41fd97401350bd20e3204cd54c32fe8c1cd97f36b6fb8bf345fdea2eb98 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -198,7 +198,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -238,1061 +238,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1336,88 +337,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1435,107 +354,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a07bc098495882d8c62454424b95c961a3d04e37%3Ad19bcec93359c38b906951a265d31b6742ad0f6af67c67751746462b676830fd?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6652a041962203f23daa2eb6fe20c5e4a070b02d%3A9c42f41fd97401350bd20e3204cd54c32fe8c1cd97f36b6fb8bf345fdea2eb98?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1602,7 +426,7 @@ interactions: content-length: - '915' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml index cba8c1a66..2f5e48991 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -114,7 +114,7 @@ interactions: content-length: - '1087' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -162,10 +162,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: b66ed01ad5fe02aedd6a5f83efc539e1d6d923d1:c8c2cf0c4f200a16e73796d947e32e8a2fa32fe6a2c92d5155c47781e3b0f512 + executionResult: 1137f7cb57f06ff486ccf3abb2be05250cb99ecf:84ecaf81bcc89182dfb84f048ba0f8d52e9dd2bf36c20372e977300f9abbfc50 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -190,7 +190,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -230,1061 +230,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1328,88 +329,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1427,107 +346,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b66ed01ad5fe02aedd6a5f83efc539e1d6d923d1%3Ac8c2cf0c4f200a16e73796d947e32e8a2fa32fe6a2c92d5155c47781e3b0f512?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1137f7cb57f06ff486ccf3abb2be05250cb99ecf%3A84ecaf81bcc89182dfb84f048ba0f8d52e9dd2bf36c20372e977300f9abbfc50?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1594,7 +418,7 @@ interactions: content-length: - '3016' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 4cc7f32c5..e52bc0d30 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -120,7 +120,7 @@ interactions: content-length: - '1373' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -183,10 +183,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 3d1143cddf62ed8902b807fa120e9e3cb2ce1b92:4239f8f0cc1914dd8b5bd2ecbe5cf612351e8a82db2e1aa28192dda60a76b273 + executionResult: 32b47864755b639f5fe244c93ca0a404733f5770:8e2796d01929851ca14ca974f08e129eae90361fa69813ab2e1672347123b781 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28state%2Cregion%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -211,7 +211,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '3867' 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 @@ -251,186 +251,11 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - id: region type: attribute attributes: @@ -440,872 +265,91 @@ interactions: - Customers areRelationsValid: true sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.weekOfYear + - id: region type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region meta: origin: originType: NATIVE originId: demo - - id: date.monthOfYear + - id: state type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: State + description: State tags: - - Date - granularity: MONTH_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: state + sourceColumnDataType: STRING relationships: + defaultView: + data: + id: state + type: label dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.monthOfYear + - id: state + type: label + - id: geo__state__location type: label links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: products.category type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Category + description: Category tags: - - Date - granularity: QUARTER_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.quarterOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name + - id: geo__state__location type: label attributes: - title: Customer name - description: Customer name + title: Location + description: Location tags: - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type + primary: false + sourceColumn: geo__state__location sourceColumnDataType: STRING - valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - id: customers type: dataset attributes: @@ -1336,101 +380,32 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category + - id: state type: label attributes: - title: Category - description: Category + title: State + description: State tags: - - Products + - Customers primary: true - sourceColumn: category + sourceColumn: state sourceColumnDataType: STRING valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state + - id: products.category type: label attributes: - title: Product id - description: Product id + title: Category + description: Category tags: - Products primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id + sourceColumn: category sourceColumnDataType: STRING valueType: TEXT links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id + self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - id: products type: dataset attributes: @@ -1448,107 +423,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27state%27%2C%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27state%27%2C%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3d1143cddf62ed8902b807fa120e9e3cb2ce1b92%3A4239f8f0cc1914dd8b5bd2ecbe5cf612351e8a82db2e1aa28192dda60a76b273?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/32b47864755b639f5fe244c93ca0a404733f5770%3A8e2796d01929851ca14ca974f08e129eae90361fa69813ab2e1672347123b781?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1615,7 +495,7 @@ interactions: content-length: - '43407' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:30 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 e13200c11..9bdddaa16 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -116,7 +116,7 @@ interactions: content-length: - '759' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -149,10 +149,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 913ca53fb88eff1b9b7d01306b9dc24c30fb2941:06196704f20eb0c4004cc6001ee7993dc5f22f872d852d4379ef2bcd1add0159 + executionResult: 47d15461d24433433e507f2555500c8c1a58ebc8:64cc5753acff39484c33613831bdcd31d070943f41f99cb506563ebbb8013dc0 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -177,7 +177,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -217,1061 +217,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1302,219 +278,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/913ca53fb88eff1b9b7d01306b9dc24c30fb2941%3A06196704f20eb0c4004cc6001ee7993dc5f22f872d852d4379ef2bcd1add0159?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/47d15461d24433433e507f2555500c8c1a58ebc8%3A64cc5753acff39484c33613831bdcd31d070943f41f99cb506563ebbb8013dc0?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1581,7 +350,7 @@ interactions: content-length: - '333' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml index 3cb541762..673b9f6ae 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -100,7 +100,7 @@ interactions: content-length: - '428' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -116,10 +116,10 @@ interactions: name: '# of Orders' localIdentifier: dim_0 links: - executionResult: 1aa24ee53601d54297875e4f959a3759c70b3ca2:11776ff005998fadc91a24ad1d0ff75753a45a0fe72fe8a87ef504e3983030c0 + executionResult: 65466beebb7dc9ef15c19f22d76e9800d32bf5d3:e7fa13f4c1a379067439266ec589d08ed00b332fbb47c0cbc2b29cda495d10bb - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1aa24ee53601d54297875e4f959a3759c70b3ca2%3A11776ff005998fadc91a24ad1d0ff75753a45a0fe72fe8a87ef504e3983030c0?offset=0&limit=2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/65466beebb7dc9ef15c19f22d76e9800d32bf5d3%3Ae7fa13f4c1a379067439266ec589d08ed00b332fbb47c0cbc2b29cda495d10bb?offset=0&limit=2 body: null headers: Accept: @@ -186,7 +186,7 @@ interactions: content-length: - '220' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 75edbce45..d1d9442ad 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -108,7 +108,7 @@ interactions: content-length: - '759' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -141,10 +141,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 3d1ee1f22e30fba4bfc8ef16d9a7e23e2bc0549b:c55c84a6e887fe620ae03a1043b865ea96f57e4dca89d83f8fb9abd60ad4de6f + executionResult: c3fbffcc313ceeb35c02e05ed2abd22e90748984:b22181dc57661532ec248379e7533e873cb1b3a635a37c2715d97bcab9574d67 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -169,7 +169,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -209,1061 +209,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1294,219 +270,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/3d1ee1f22e30fba4bfc8ef16d9a7e23e2bc0549b%3Ac55c84a6e887fe620ae03a1043b865ea96f57e4dca89d83f8fb9abd60ad4de6f?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c3fbffcc313ceeb35c02e05ed2abd22e90748984%3Ab22181dc57661532ec248379e7533e873cb1b3a635a37c2715d97bcab9574d67?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1573,7 +342,7 @@ interactions: content-length: - '676' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:31 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:00 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 1276f5574..86cfbdbfe 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -153,7 +153,7 @@ interactions: content-length: - '1009' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -197,10 +197,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 4bee57ea4a81224f89db8fbb0dc307d01815205f:88272bec05e6cf98e0eda0a6c1b38bfb7be0e68e7b8751314bbe7df5b879eaec + executionResult: 26f4918164a393fbf42d19b538784bc715928763:ffcc90bf732cb83f483f63d6ccdbc0c718a7065c4a62ae64963100c80a4a2f22 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28products.category%2Cregion%29&page=0&size=500 body: null headers: Accept: @@ -225,7 +225,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' Content-Security-Policy: - 'default-src ''self'' *.wistia.com *.wistia.net; script-src ''self'' ''unsafe-inline'' ''unsafe-eval'' *.wistia.com *.wistia.net *.hsforms.net *.hsforms.com @@ -265,1061 +265,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1363,88 +364,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1462,107 +381,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27region%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27region%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4bee57ea4a81224f89db8fbb0dc307d01815205f%3A88272bec05e6cf98e0eda0a6c1b38bfb7be0e68e7b8751314bbe7df5b879eaec?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/26f4918164a393fbf42d19b538784bc715928763%3Affcc90bf732cb83f483f63d6ccdbc0c718a7065c4a62ae64963100c80a4a2f22?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1629,7 +453,7 @@ interactions: content-length: - '426' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml index c4eb035ea..e81988795 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -106,7 +106,7 @@ interactions: content-length: - '954' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:27 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -149,10 +149,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 5153d3e8011c3ca8da8a012e3e805e403100b336:02fda2c01736d163f73f2b6a3fea64d655b9472aba311ef361a3947eefb363d0 + executionResult: c40a8854d0e423470eb835f91546d227bbcac580:4e45e349be3833d3a9618406ff8e8045a81abb51da8b52a09240134799482748 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -177,7 +177,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -217,1061 +217,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:27 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1315,88 +316,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1414,107 +333,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5153d3e8011c3ca8da8a012e3e805e403100b336%3A02fda2c01736d163f73f2b6a3fea64d655b9472aba311ef361a3947eefb363d0?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c40a8854d0e423470eb835f91546d227bbcac580%3A4e45e349be3833d3a9618406ff8e8045a81abb51da8b52a09240134799482748?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: @@ -1581,7 +405,7 @@ interactions: content-length: - '2911' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:27 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 43ddcd738..a1a7942d7 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -110,7 +110,7 @@ interactions: content-length: - '681' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -139,10 +139,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: bfd897743feefaffccb384ac04f8c90d32c44d36:e1d4b0334496607fd9bd7ba02767fb9d2ed6583be33206d341ec054da9063bb6 + executionResult: a91614dac0a2ee1e532b68a495065b890152ad2f:a7691bc8f3fdd8a8377770d2fe9b39494a0ed06b215525fb302cc9b0e20849b5 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -167,7 +167,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -207,1061 +207,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1292,219 +268,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bfd897743feefaffccb384ac04f8c90d32c44d36%3Ae1d4b0334496607fd9bd7ba02767fb9d2ed6583be33206d341ec054da9063bb6?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a91614dac0a2ee1e532b68a495065b890152ad2f%3Aa7691bc8f3fdd8a8377770d2fe9b39494a0ed06b215525fb302cc9b0e20849b5?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1571,7 +340,7 @@ interactions: content-length: - '689' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:59 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 43ddcd738..ef70ca050 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -110,7 +110,7 @@ interactions: content-length: - '681' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -139,10 +139,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: bfd897743feefaffccb384ac04f8c90d32c44d36:e1d4b0334496607fd9bd7ba02767fb9d2ed6583be33206d341ec054da9063bb6 + executionResult: a91614dac0a2ee1e532b68a495065b890152ad2f:a7691bc8f3fdd8a8377770d2fe9b39494a0ed06b215525fb302cc9b0e20849b5 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -167,7 +167,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -207,1061 +207,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1292,219 +268,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bfd897743feefaffccb384ac04f8c90d32c44d36%3Ae1d4b0334496607fd9bd7ba02767fb9d2ed6583be33206d341ec054da9063bb6?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a91614dac0a2ee1e532b68a495065b890152ad2f%3Aa7691bc8f3fdd8a8377770d2fe9b39494a0ed06b215525fb302cc9b0e20849b5?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: @@ -1571,7 +340,7 @@ interactions: content-length: - '689' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:29 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:32:58 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 cad59de37..8efa24f8e 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -114,7 +114,7 @@ interactions: content-length: - '954' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -157,10 +157,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: e0564177fdd6784416e83de30de7df8ae913a009:477b5199aa4f82b8077b124e9bfe68fd53309381b4be2b44d533321cd5e0051b + executionResult: c88bb35d36a30a26887ab5b433d66b3680290155:f54532b9aa57193ec2a2b28a177d9d99e995f796c1645fe39fab3a79fd9efaef - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -185,7 +185,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -225,1061 +225,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1323,88 +324,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1422,107 +341,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e0564177fdd6784416e83de30de7df8ae913a009%3A477b5199aa4f82b8077b124e9bfe68fd53309381b4be2b44d533321cd5e0051b?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c88bb35d36a30a26887ab5b433d66b3680290155%3Af54532b9aa57193ec2a2b28a177d9d99e995f796c1645fe39fab3a79fd9efaef?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: @@ -1589,7 +413,7 @@ interactions: content-length: - '1014' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 1c2a82a09..450853a9e 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -106,7 +106,7 @@ interactions: content-length: - '954' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:33 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -149,10 +149,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: 5153d3e8011c3ca8da8a012e3e805e403100b336:02fda2c01736d163f73f2b6a3fea64d655b9472aba311ef361a3947eefb363d0 + executionResult: c40a8854d0e423470eb835f91546d227bbcac580:4e45e349be3833d3a9618406ff8e8045a81abb51da8b52a09240134799482748 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%2Cproducts.category%29&page=0&size=500 body: null headers: Accept: @@ -177,7 +177,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -217,1061 +217,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1315,88 +316,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1414,107 +333,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27region%27%2C%27products.category%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5153d3e8011c3ca8da8a012e3e805e403100b336%3A02fda2c01736d163f73f2b6a3fea64d655b9472aba311ef361a3947eefb363d0?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c40a8854d0e423470eb835f91546d227bbcac580%3A4e45e349be3833d3a9618406ff8e8045a81abb51da8b52a09240134799482748?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: @@ -1581,7 +405,7 @@ interactions: content-length: - '2911' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 db6c7daac..d300bee0a 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -92,7 +92,7 @@ interactions: content-length: - '295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:36 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:02 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -103,10 +103,10 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 4c19c1fbbdff3c214a199d55b4ddd2913f2c58d1:a8ee46bf65ff3070bc3662170a83246a5f4f75077d4a5dc47c8d25f5637afafc + executionResult: 6b5798264c9eabcc9871b17e61b51936bff6dd24:0f1e8c9a226dc2df31d89dd9e3474c7fdd607140fd6df6cc8bfd157eb3676bf8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4c19c1fbbdff3c214a199d55b4ddd2913f2c58d1%3Aa8ee46bf65ff3070bc3662170a83246a5f4f75077d4a5dc47c8d25f5637afafc?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6b5798264c9eabcc9871b17e61b51936bff6dd24%3A0f1e8c9a226dc2df31d89dd9e3474c7fdd607140fd6df6cc8bfd157eb3676bf8?offset=0&limit=1 body: null headers: Accept: @@ -173,7 +173,7 @@ interactions: content-length: - '176' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:36 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:02 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -290,7 +290,7 @@ interactions: content-length: - '295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:36 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:02 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -301,10 +301,10 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 94a750146f7e059007cac5005d1495fa8619f617:19d04b70963346dc0133068bb414fe96b1726dc9752eae59dbccecb39fe4e134 + executionResult: 78917c12c636ad8c67a15347978817deba60b6a8:244405eab8ecc63846e364a43e84a9639625b76a3b758581656b8701c2deb11d - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/94a750146f7e059007cac5005d1495fa8619f617%3A19d04b70963346dc0133068bb414fe96b1726dc9752eae59dbccecb39fe4e134?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/78917c12c636ad8c67a15347978817deba60b6a8%3A244405eab8ecc63846e364a43e84a9639625b76a3b758581656b8701c2deb11d?offset=0&limit=1 body: null headers: Accept: @@ -371,7 +371,7 @@ interactions: content-length: - '171' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:36 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:02 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 2c4bbfa43..60a6cedd7 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -87,7 +87,7 @@ interactions: content-length: - '505' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -111,10 +111,10 @@ interactions: valueType: TEXT localIdentifier: dim_0 links: - executionResult: 16786950740ff9f1adbc10d6c1c4bd15cef8b947:ddca77502fcbac6b0d5a33188a45f0140d10ceaa4537a19a127d702c0edae00e + executionResult: 86fa410adda644033a95c88a0f0bb1b5f2d7d9db:4f8b201f264355cfe0a72289094f89c64f2d64ae683cbac3671f811823abc5b4 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -139,7 +139,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -179,1061 +179,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1264,219 +240,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/16786950740ff9f1adbc10d6c1c4bd15cef8b947%3Addca77502fcbac6b0d5a33188a45f0140d10ceaa4537a19a127d702c0edae00e?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/86fa410adda644033a95c88a0f0bb1b5f2d7d9db%3A4f8b201f264355cfe0a72289094f89c64f2d64ae683cbac3671f811823abc5b4?offset=0&limit=1000 body: null headers: Accept: @@ -1543,7 +312,7 @@ interactions: content-length: - '499' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 c362df8d5..1e593aadf 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -93,7 +93,7 @@ interactions: content-length: - '833' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:02 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -132,10 +132,10 @@ interactions: valueType: TEXT localIdentifier: dim_0 links: - executionResult: 92a480e7a5f1adf8fec2444f8c1133c759eb16e7:5a2b198a2c84532cee4c28709b7a5b2cc0a679811d72078913eb38ee977762e7 + executionResult: 29027eaffae0eca1801ac063d094a1c63e21e8aa:0b1b3f4f9be545647135f61d019c24b75003b34c107f43845e42a80a6f7faa17 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28products.category%2Cregion%29&page=0&size=500 body: null headers: Accept: @@ -160,7 +160,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -200,1061 +200,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:02 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1298,88 +299,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1397,107 +316,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27region%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27region%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/92a480e7a5f1adf8fec2444f8c1133c759eb16e7%3A5a2b198a2c84532cee4c28709b7a5b2cc0a679811d72078913eb38ee977762e7?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/29027eaffae0eca1801ac063d094a1c63e21e8aa%3A0b1b3f4f9be545647135f61d019c24b75003b34c107f43845e42a80a6f7faa17?offset=0&limit=1000 body: null headers: Accept: @@ -1564,7 +388,7 @@ interactions: content-length: - '2690' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:02 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 d6979c1db..d49383be6 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -92,7 +92,7 @@ interactions: content-length: - '295' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -103,10 +103,10 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 4c19c1fbbdff3c214a199d55b4ddd2913f2c58d1:a8ee46bf65ff3070bc3662170a83246a5f4f75077d4a5dc47c8d25f5637afafc + executionResult: 6b5798264c9eabcc9871b17e61b51936bff6dd24:0f1e8c9a226dc2df31d89dd9e3474c7fdd607140fd6df6cc8bfd157eb3676bf8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4c19c1fbbdff3c214a199d55b4ddd2913f2c58d1%3Aa8ee46bf65ff3070bc3662170a83246a5f4f75077d4a5dc47c8d25f5637afafc?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6b5798264c9eabcc9871b17e61b51936bff6dd24%3A0f1e8c9a226dc2df31d89dd9e3474c7fdd607140fd6df6cc8bfd157eb3676bf8?offset=0&limit=1 body: null headers: Accept: @@ -173,7 +173,7 @@ interactions: content-length: - '176' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:34 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 30dbc801b..0bf3e6c79 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 @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -100,7 +100,7 @@ interactions: content-length: - '626' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -128,10 +128,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: eeb2e7d57c6440483b1546b445e19b7ab49891de:4d66e9c28dfb60253522eac141729cbccf551ce926cd3e7e0dc6c7ba666f8081 + executionResult: a86ed27babb5c0f49e7cc22a4dd155ae214a4daf:42ab00344ea016289949150a6af21a3b0b798fc5589c11bccb0a3aad31922dd6 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -156,7 +156,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -196,1061 +196,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1281,219 +257,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/eeb2e7d57c6440483b1546b445e19b7ab49891de%3A4d66e9c28dfb60253522eac141729cbccf551ce926cd3e7e0dc6c7ba666f8081?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a86ed27babb5c0f49e7cc22a4dd155ae214a4daf%3A42ab00344ea016289949150a6af21a3b0b798fc5589c11bccb0a3aad31922dd6?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: @@ -1560,7 +329,7 @@ interactions: content-length: - '619' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:35 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 46c80f268..a027f87a6 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -109,7 +109,7 @@ interactions: content-length: - '833' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:33 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -148,10 +148,10 @@ interactions: valueType: TEXT localIdentifier: dim_0 links: - executionResult: f516f4a07b53fc0b7f63eebacb00d161c47d8d09:8ead221c210723946a80eca2685f32b1a212189e0810228f0718f7f7bc053b58 + executionResult: 8d938afdb4e11c66cb1632f0222500e749ec0b4e:00b334226aa569f1de4b8118a446993c5260ff730c78a1d5d0336ae7ddabc448 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28products.category%2Cregion%29&page=0&size=500 body: null headers: Accept: @@ -176,7 +176,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '2689' 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 @@ -216,1061 +216,62 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:33 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear + - id: products.category type: attribute attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) + title: Category + description: Category tags: - - Date - granularity: MONTH_OF_YEAR + - Products areRelationsValid: true + sourceColumn: category + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: products type: dataset labels: data: - - id: date.monthOfYear + - id: products.category 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/products.category meta: origin: originType: NATIVE originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1314,88 +315,6 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - id: products type: dataset attributes: @@ -1413,107 +332,12 @@ interactions: type: NORMAL links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27region%27%29&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28%27products.category%27%2C%27region%27%29&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f516f4a07b53fc0b7f63eebacb00d161c47d8d09%3A8ead221c210723946a80eca2685f32b1a212189e0810228f0718f7f7bc053b58?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8d938afdb4e11c66cb1632f0222500e749ec0b4e%3A00b334226aa569f1de4b8118a446993c5260ff730c78a1d5d0336ae7ddabc448?offset=0&limit=1000 body: null headers: Accept: @@ -1580,7 +404,7 @@ interactions: content-length: - '296' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:33 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 8e95a72a7..60a6cedd7 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -87,7 +87,7 @@ interactions: content-length: - '505' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:33 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -111,10 +111,10 @@ interactions: valueType: TEXT localIdentifier: dim_0 links: - executionResult: 16786950740ff9f1adbc10d6c1c4bd15cef8b947:ddca77502fcbac6b0d5a33188a45f0140d10ceaa4537a19a127d702c0edae00e + executionResult: 86fa410adda644033a95c88a0f0bb1b5f2d7d9db:4f8b201f264355cfe0a72289094f89c64f2d64ae683cbac3671f811823abc5b4 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -139,7 +139,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -179,1061 +179,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:33 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1264,219 +240,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/16786950740ff9f1adbc10d6c1c4bd15cef8b947%3Addca77502fcbac6b0d5a33188a45f0140d10ceaa4537a19a127d702c0edae00e?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/86fa410adda644033a95c88a0f0bb1b5f2d7d9db%3A4f8b201f264355cfe0a72289094f89c64f2d64ae683cbac3671f811823abc5b4?offset=0&limit=1000 body: null headers: Accept: @@ -1543,7 +312,7 @@ interactions: content-length: - '499' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:33 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: 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 660e7bec1..0bf3e6c79 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml @@ -1,4 +1,4 @@ -# (C) 2024 GoodData Corporation +# (C) 2025 GoodData Corporation version: 1 interactions: - request: @@ -100,7 +100,7 @@ interactions: content-length: - '626' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: @@ -128,10 +128,10 @@ interactions: valueType: TEXT localIdentifier: dim_1 links: - executionResult: eeb2e7d57c6440483b1546b445e19b7ab49891de:4d66e9c28dfb60253522eac141729cbccf551ce926cd3e7e0dc6c7ba666f8081 + executionResult: a86ed27babb5c0f49e7cc22a4dd155ae214a4daf:42ab00344ea016289949150a6af21a3b0b798fc5589c11bccb0a3aad31922dd6 - request: method: GET - uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 + uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3Din%3D%28region%29&page=0&size=500 body: null headers: Accept: @@ -156,7 +156,7 @@ interactions: Connection: - keep-alive Content-Length: - - '27478' + - '1450' 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 @@ -196,1061 +196,37 @@ interactions: X-XSS-Protection: - '0' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: data: - - id: campaign_channel_id - type: attribute - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channel_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channel_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_channels.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Campaign channels - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaign_channels - type: dataset - labels: - data: - - id: campaign_channels.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_channels.category - meta: - 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: - title: Campaign id - description: Campaign id - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_id - meta: - origin: - originType: NATIVE - originId: demo - - id: campaign_name - type: attribute - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - areRelationsValid: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: campaigns - type: dataset - labels: - data: - - id: campaign_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/campaign_name - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_id - type: attribute - attributes: - title: Customer id - description: Customer id - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_id - meta: - origin: - originType: NATIVE - originId: demo - - id: customer_name - type: attribute - attributes: - title: Customer name - description: Customer name - tags: - - Customers - areRelationsValid: true - sourceColumn: customer_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: customer_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/customer_name - meta: - origin: - originType: NATIVE - originId: demo - - id: region - type: attribute - attributes: - title: Region - description: Region - tags: - - Customers - areRelationsValid: true - sourceColumn: region - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: region - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/region - meta: - origin: - originType: NATIVE - originId: demo - - id: state - type: attribute - attributes: - title: State - description: State - tags: - - Customers - areRelationsValid: true - sourceColumn: state - sourceColumnDataType: STRING - relationships: - defaultView: - data: - id: state - type: label - dataset: - data: - id: customers - type: dataset - labels: - data: - - id: state - type: label - - id: geo__state__location - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/state - meta: - origin: - originType: NATIVE - originId: demo - - id: order_id - type: attribute - attributes: - title: Order id - description: Order id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_line_id - type: attribute - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_line_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_line_id - meta: - origin: - originType: NATIVE - originId: demo - - id: order_status - type: attribute - attributes: - title: Order status - description: Order status - tags: - - Order lines - areRelationsValid: true - sourceColumn: order_status - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: order_lines - type: dataset - labels: - data: - - id: order_status - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/order_status - meta: - origin: - originType: NATIVE - originId: demo - - id: product_id - type: attribute - attributes: - title: Product id - description: Product id - tags: - - Products - areRelationsValid: true - sourceColumn: product_id - sourceColumnDataType: INT - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_id - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_id - meta: - origin: - originType: NATIVE - originId: demo - - id: product_name - type: attribute - attributes: - title: Product name - description: Product name - tags: - - Products - areRelationsValid: true - sourceColumn: product_name - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: product_name - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/product_name - meta: - origin: - originType: NATIVE - originId: demo - - id: products.category - type: attribute - attributes: - title: Category - description: Category - tags: - - Products - areRelationsValid: true - sourceColumn: category - sourceColumnDataType: STRING - relationships: - dataset: - data: - id: products - type: dataset - labels: - data: - - id: products.category - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/products.category - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minute - type: attribute - attributes: - title: Date - Minute - description: Minute - tags: - - Date - granularity: MINUTE - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minute - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minute - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hour - type: attribute - attributes: - title: Date - Hour - description: Hour - tags: - - Date - granularity: HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.day - type: attribute - attributes: - 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.week - type: attribute - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - granularity: WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.week - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.week - meta: - origin: - originType: NATIVE - originId: demo - - id: date.month - type: attribute - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - granularity: MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.month - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.month - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarter - type: attribute - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - granularity: QUARTER - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.quarter - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.quarter - meta: - origin: - originType: NATIVE - originId: demo - - id: date.year - type: attribute - attributes: - title: Date - Year - description: Year - tags: - - Date - granularity: YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.year - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.year - meta: - origin: - originType: NATIVE - originId: demo - - id: date.minuteOfHour - type: attribute - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - granularity: MINUTE_OF_HOUR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.minuteOfHour - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.minuteOfHour - meta: - origin: - originType: NATIVE - originId: demo - - id: date.hourOfDay - type: attribute - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - granularity: HOUR_OF_DAY - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.hourOfDay - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.hourOfDay - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfWeek - type: attribute - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - granularity: DAY_OF_WEEK - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfWeek - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfWeek - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfMonth - type: attribute - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - granularity: DAY_OF_MONTH - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfMonth - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfMonth - meta: - origin: - originType: NATIVE - originId: demo - - id: date.dayOfYear - type: attribute - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - granularity: DAY_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.dayOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.dayOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.weekOfYear - type: attribute - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - granularity: WEEK_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.weekOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.weekOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.monthOfYear - type: attribute - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - granularity: MONTH_OF_YEAR - areRelationsValid: true - relationships: - dataset: - data: - id: date - type: dataset - labels: - data: - - id: date.monthOfYear - type: label - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes/date.monthOfYear - meta: - origin: - originType: NATIVE - originId: demo - - id: date.quarterOfYear + - id: region type: attribute attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) + title: Region + description: Region tags: - - Date - granularity: QUARTER_OF_YEAR + - Customers areRelationsValid: true + sourceColumn: region + sourceColumnDataType: STRING relationships: dataset: data: - id: date + id: customers type: dataset labels: data: - - id: date.quarterOfYear + - id: region 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/region meta: origin: originType: NATIVE originId: demo included: - - id: date.minuteOfHour - type: label - attributes: - title: Date - Minute of Hour - description: Generic Minute of the Hour(MI1-MI60) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minuteOfHour - - id: date.minute - type: label - attributes: - title: Date - Minute - description: Minute - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.minute - - id: product_name - type: label - attributes: - title: Product name - description: Product name - tags: - - Products - primary: true - sourceColumn: product_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_name - - id: order_status - type: label - attributes: - title: Order status - description: Order status - tags: - - Order lines - primary: true - sourceColumn: order_status - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_status - - id: order_lines - type: dataset - attributes: - title: Order lines - description: Order lines - tags: - - Order lines - grain: - - id: order_line_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: products - type: dataset - multivalue: false - sources: - - column: product_id - dataType: INT - target: - id: product_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: date - type: dataset - multivalue: false - sources: - - column: date - dataType: DATE - target: - id: date - type: date - sourceColumns: null - sourceColumnDataTypes: null - - identifier: - id: customers - type: dataset - multivalue: false - sources: - - column: customer_id - dataType: INT - target: - id: customer_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:order_lines - dataSourceTablePath: - - demo - - order_lines - workspaceDataFilterColumns: - - name: wdf__region - dataType: STRING - - name: wdf__state - dataType: STRING - workspaceDataFilterReferences: - - filterId: - id: wdf__region - type: workspaceDataFilter - filterColumn: wdf__region - filterColumnDataType: STRING - - filterId: - id: wdf__state - type: workspaceDataFilter - filterColumn: wdf__state - filterColumnDataType: STRING - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/order_lines - - id: campaign_name - type: label - attributes: - title: Campaign name - description: Campaign name - tags: - - Campaigns - primary: true - sourceColumn: campaign_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_name - - id: date.dayOfMonth - type: label - attributes: - title: Date - Day of Month - description: Generic Day of the Month (D1-D31) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfMonth - - id: campaign_channels - type: dataset - attributes: - title: Campaign channels - description: Campaign channels - tags: - - Campaign channels - grain: - - id: campaign_channel_id - type: attribute - referenceProperties: - - identifier: - id: campaigns - type: dataset - multivalue: false - sources: - - column: campaign_id - dataType: INT - target: - id: campaign_id - type: attribute - sourceColumns: null - sourceColumnDataTypes: null - dataSourceTableId: demo-test-ds:campaign_channels - dataSourceTablePath: - - demo - - campaign_channels - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels - - id: date.dayOfYear - type: label - attributes: - title: Date - Day of Year - description: Generic Day of the Year (D1-D366) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfYear - - id: date.month - type: label - attributes: - title: Date - Month/Year - description: Month and Year (12/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.month - - id: date.quarter - type: label - attributes: - title: Date - Quarter/Year - description: Quarter and Year (Q1/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarter - - id: campaign_channel_id - type: label - attributes: - title: Campaign channel id - description: Campaign channel id - tags: - - Campaign channels - primary: true - sourceColumn: campaign_channel_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channel_id - - id: date.quarterOfYear - type: label - attributes: - title: Date - Quarter of Year - description: Generic Quarter (Q1-Q4) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.quarterOfYear - - id: date.day - type: label - attributes: - title: Date - Date - description: Date - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.day - - id: campaigns - type: dataset - attributes: - title: Campaigns - description: Campaigns - tags: - - Campaigns - grain: - - id: campaign_id - type: attribute - dataSourceTableId: demo-test-ds:campaigns - dataSourceTablePath: - - demo - - campaigns - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaigns - - id: order_id - type: label - attributes: - title: Order id - description: Order id - tags: - - Order lines - primary: true - sourceColumn: order_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_id - - id: customer_name - type: label - attributes: - title: Customer name - description: Customer name - tags: - - Customers - primary: true - sourceColumn: customer_name - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_name - - id: type - type: label - attributes: - title: Type - description: Type - tags: - - Campaign channels - primary: true - sourceColumn: type - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/type - id: customers type: dataset attributes: @@ -1281,219 +257,12 @@ interactions: valueType: TEXT links: self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/region - - id: products.category - type: label - attributes: - title: Category - description: Category - tags: - - Products - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/products.category - - id: date.monthOfYear - type: label - attributes: - title: Date - Month of Year - description: Generic Month (M1-M12) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.monthOfYear - - id: date.weekOfYear - type: label - attributes: - title: Date - Week of Year - description: Generic Week (W1-W53) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.weekOfYear - - id: date.week - type: label - attributes: - title: Date - Week/Year - description: Week and Year (W52/2020) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.week - - id: geo__state__location - type: label - attributes: - title: Location - description: Location - tags: - - Customers - primary: false - sourceColumn: geo__state__location - sourceColumnDataType: STRING - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/geo__state__location - - id: product_id - type: label - attributes: - title: Product id - description: Product id - tags: - - Products - primary: true - sourceColumn: product_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/product_id - - id: date.hourOfDay - type: label - attributes: - title: Date - Hour of Day - description: Generic Hour of the Day(H1-H24) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hourOfDay - - id: order_line_id - type: label - attributes: - title: Order line id - description: Order line id - tags: - - Order lines - primary: true - sourceColumn: order_line_id - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/order_line_id - - id: products - type: dataset - attributes: - title: Products - description: Products - tags: - - Products - grain: - - id: product_id - type: attribute - dataSourceTableId: demo-test-ds:products - dataSourceTablePath: - - demo - - products - type: NORMAL - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products - - id: date.dayOfWeek - type: label - attributes: - title: Date - Day of Week - description: Generic Day of the Week (D1-D7) - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.dayOfWeek - - id: date.hour - type: label - attributes: - title: Date - Hour - description: Hour - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.hour - - id: date - type: dataset - attributes: - title: Date - description: '' - tags: - - Date - type: DATE - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date - - id: campaign_channels.category - type: label - attributes: - title: Category - description: Category - tags: - - Campaign channels - primary: true - sourceColumn: category - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_channels.category - - id: customer_id - type: label - attributes: - title: Customer id - description: Customer id - tags: - - Customers - primary: true - sourceColumn: customer_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/customer_id - - id: date.year - type: label - attributes: - title: Date - Year - description: Year - tags: - - Date - primary: true - sourceColumn: '' - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/date.year - - id: state - type: label - attributes: - title: State - description: State - tags: - - Customers - primary: true - sourceColumn: state - sourceColumnDataType: STRING - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/state - - id: campaign_id - type: label - attributes: - title: Campaign id - description: Campaign id - tags: - - Campaigns - primary: true - sourceColumn: campaign_id - sourceColumnDataType: INT - valueType: TEXT - links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/labels/campaign_id links: - self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 - next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=1&size=500 + self: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=0&size=500 + next: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&filter=labels.id%3D%3D%27region%27&page=1&size=500 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/eeb2e7d57c6440483b1546b445e19b7ab49891de%3A4d66e9c28dfb60253522eac141729cbccf551ce926cd3e7e0dc6c7ba666f8081?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a86ed27babb5c0f49e7cc22a4dd155ae214a4daf%3A42ab00344ea016289949150a6af21a3b0b798fc5589c11bccb0a3aad31922dd6?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: @@ -1560,7 +329,7 @@ interactions: content-length: - '619' set-cookie: - - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Mon, 07 Oct 2024 14:26:32 GMT; + - SPRING_REDIRECT_URI=; Max-Age=0; Expires=Fri, 17 Jan 2025 13:33:01 GMT; Path=/; HTTPOnly; SameSite=Lax body: string: diff --git a/gooddata-sdk/gooddata_sdk/catalog/workspace/content_service.py b/gooddata-sdk/gooddata_sdk/catalog/workspace/content_service.py index f0f5b5664..8239f9234 100644 --- a/gooddata-sdk/gooddata_sdk/catalog/workspace/content_service.py +++ b/gooddata-sdk/gooddata_sdk/catalog/workspace/content_service.py @@ -103,7 +103,9 @@ def get_full_catalog(self, workspace_id: str, inject_valid_objects_func: bool = return CatalogWorkspaceContent.create_workspace_content_catalog(valid_obj_fun, datasets, attributes, metrics) - def get_attributes_catalog(self, workspace_id: str, include: Optional[list[str]] = None) -> list[CatalogAttribute]: + def get_attributes_catalog( + self, workspace_id: str, include: Optional[list[str]] = None, rsql_filter: Optional[str] = None + ) -> list[CatalogAttribute]: """Retrieve all attributes in a given workspace. Args: @@ -112,6 +114,8 @@ def get_attributes_catalog(self, workspace_id: str, include: Optional[list[str]] include (list[str]): Entities to include. Available: datasets, labels, attributeHierarchies, dataset, defaultView, ALL + rsql_filter (str): + An optional filter to be passed to API. Returns: list[CatalogAttribute]: @@ -127,6 +131,8 @@ def get_attributes_catalog(self, workspace_id: str, include: Optional[list[str]] include=include, _check_return_type=False, ) + if rsql_filter is not None: + get_attributes = functools.partial(get_attributes, filter=rsql_filter) attributes = load_all_entities(get_attributes) catalog_attributes = [CatalogAttribute.from_api(a, side_loads=attributes.included) for a in attributes.data] return catalog_attributes diff --git a/gooddata-sdk/gooddata_sdk/utils.py b/gooddata-sdk/gooddata_sdk/utils.py index 1e2a7c93d..60acdb9ac 100644 --- a/gooddata-sdk/gooddata_sdk/utils.py +++ b/gooddata-sdk/gooddata_sdk/utils.py @@ -9,7 +9,7 @@ from enum import Enum, auto from pathlib import Path from shutil import rmtree -from typing import Any, Callable, NamedTuple, Union, cast, no_type_check +from typing import Any, Callable, NamedTuple, Optional, Union, cast, no_type_check from warnings import warn from xml.etree import ElementTree as ET @@ -19,6 +19,7 @@ from gooddata_api_client import ApiAttributeError from gooddata_api_client.model_utils import OpenApiModel +from gooddata_sdk.compute.model.attribute import Attribute from gooddata_sdk.compute.model.base import ObjId from gooddata_sdk.config import AacConfig, Profile @@ -424,3 +425,15 @@ def ref_extract(ref: dict[str, Any]) -> Union[str, ObjId]: return ref["localIdentifier"] raise ValueError("invalid ref. must be identifier or localIdentifier") + + +def filter_for_attributes_labels(attributes: list[Attribute], character_limit: int = 1500) -> Optional[str]: + """ + Character limit is to prevent 414 Request-URI Too Large error from server. + """ + # set(...) does not work deterministically; therefore, it is necessary to use dict.fromkeys + label_ids = dict.fromkeys([attribute.label.id for attribute in attributes]) + rsql_query = f"labels.id=in=({','.join(label_ids)})" + if len(rsql_query) < character_limit: + return rsql_query + return None