diff --git a/data-explorer/kusto/includes/mirroring-partitions-formatting.md b/data-explorer/kusto/includes/mirroring-partitions-formatting.md new file mode 100644 index 0000000000..07c2e842fc --- /dev/null +++ b/data-explorer/kusto/includes/mirroring-partitions-formatting.md @@ -0,0 +1,17 @@ +--- +author: natinimni +ms.author: natinimn +ms.topic: include +ms.date: 02/09/2026 +ms.service: azure-data-explorer +--- + +## Partitions formatting + +The partitions list is any combination of partition columns, specified using one of the forms shown in the following table. + +|Partition Type|Syntax|Notes| +|--|--|--| +|String column value|*PartitionName* `:` `string` `=` *ColumnName*|| +|Truncated datetime column (value)|*PartitionName* `:` `datetime` `=` (`startofyear` \| `startofmonth` \| `startofweek` \| `startofday`) `(` *ColumnName* `)`|See documentation on [startofyear](../query/startofyear-function.md), [startofmonth](../query/startofmonth-function.md), [startofweek](../query/startofweek-function.md), or [startofday](../query/startofday-function.md) functions.| +|Truncated Datetime Column Value `=` `bin` `(` *ColumnName* `,` *TimeSpan* `)`|Read more about the [bin](../query/bin-function.md) function.|| diff --git a/data-explorer/kusto/management/alter-merge-mirroring-policy-command.md b/data-explorer/kusto/management/alter-merge-mirroring-policy-command.md index ee0ef18c41..089a35004c 100644 --- a/data-explorer/kusto/management/alter-merge-mirroring-policy-command.md +++ b/data-explorer/kusto/management/alter-merge-mirroring-policy-command.md @@ -30,7 +30,7 @@ Changes the tables's [mirroring policy](mirroring-policy.md). The mirroring poli |*Partitions*| string| | A comma-separated list of columns used to divide the data into smaller partitions. See [Partitions formatting](#partitions-formatting). | | *propertyName*, *propertyValue* | `string` | | A comma-separated list of key-value property pairs. See [supported properties](#supported-properties).| -[!INCLUDE [partitions-formatting](../includes/partitions-formatting.md)] +[!INCLUDE [mirroring-partitions-formatting](../includes/mirroring-partitions-formatting.md)] > [!NOTE] > Each partition is represented as a separate column using the *PartitionName* listed in the *Partitions* list. *PartitionName* must be a case insensitive unique string, both among other partition names and the column names of the mirrored table. diff --git a/data-explorer/kusto/management/mirroring-policy.md b/data-explorer/kusto/management/mirroring-policy.md index e549d9cfe9..a4eb3970ac 100644 --- a/data-explorer/kusto/management/mirroring-policy.md +++ b/data-explorer/kusto/management/mirroring-policy.md @@ -39,7 +39,7 @@ The mirroring policy includes the following properties: [!INCLUDE [mirroring-note](../includes/mirroring-note.md)] -[!INCLUDE [partitions-formatting](../includes/partitions-formatting.md)] +[!INCLUDE [mirroring-partitions-formatting](../includes/mirroring-partitions-formatting.md)] > [!NOTE] > Each partition is represented as a separate column using the *PartitionName* listed in the *Partitions* list. *PartitionName* must be a case insensitive unique string, both among other partition names and the column names of the mirrored table.