Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions data-explorer/kusto/includes/mirroring-partitions-formatting.md
Original file line number Diff line number Diff line change
@@ -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.||
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion data-explorer/kusto/management/mirroring-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down