From d15ca2a0694551278515d81985294203c5b73f63 Mon Sep 17 00:00:00 2001 From: Mike Lehan Date: Tue, 7 Oct 2025 12:41:56 +0100 Subject: [PATCH 1/2] Docs: extends warning Add a warning to extends keyword to note which keys it doesn't extend --- docs/pages/product/data-modeling/reference/cube.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/pages/product/data-modeling/reference/cube.mdx b/docs/pages/product/data-modeling/reference/cube.mdx index e85105401c4c2..b6b53d8cef9b8 100644 --- a/docs/pages/product/data-modeling/reference/cube.mdx +++ b/docs/pages/product/data-modeling/reference/cube.mdx @@ -215,6 +215,12 @@ cube(`extended_order_facts`, { }) ``` + + +Extends does not apply to the `refresh_key` parameter - cubes which extend another and do not declare a `refresh_key` will use the [default for their given engine][ref-cube-refresh-key]. + + + ### `data_source` Each cube can have its own `data_source` name to support scenarios where data @@ -636,4 +642,4 @@ The `access_policy` parameter is used to configure [data access policies][ref-re [ref-ref-pre-aggs]: /product/data-modeling/reference/pre-aggregations [ref-ref-dap]: /product/data-modeling/reference/data-access-policies [ref-syntax-cube-sql]: /product/data-modeling/syntax#cubesql-function -[ref-extension]: /product/data-modeling/concepts/code-reusability-extending-cubes \ No newline at end of file +[ref-extension]: /product/data-modeling/concepts/code-reusability-extending-cubes From f279446619232e76012426fa390d5b2afef384c2 Mon Sep 17 00:00:00 2001 From: Mike Lehan Date: Tue, 7 Oct 2025 13:03:03 +0100 Subject: [PATCH 2/2] Fix description --- docs/pages/product/data-modeling/reference/cube.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/product/data-modeling/reference/cube.mdx b/docs/pages/product/data-modeling/reference/cube.mdx index b6b53d8cef9b8..9581d56697af8 100644 --- a/docs/pages/product/data-modeling/reference/cube.mdx +++ b/docs/pages/product/data-modeling/reference/cube.mdx @@ -217,7 +217,7 @@ cube(`extended_order_facts`, { -Extends does not apply to the `refresh_key` parameter - cubes which extend another and do not declare a `refresh_key` will use the [default for their given engine][ref-cube-refresh-key]. +Extends using non-named cubes will not copy all fields across. For example the `refresh_key` value will not be copied and the default refresh key for the given database will be used (see `refresh_key` below for more details)