You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data-explorer/ingest-data-cosmos-db-queries.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Get latest versions of Azure Cosmos DB documents - Azure Data Explorer
3
3
description: Learn about how to get latest versions of Azure Cosmos DB documents in Azure Data Explorer.
4
4
ms.reviewer: vplauzon
5
5
ms.topic: how-to
6
-
ms.date: 06/13/2023
6
+
ms.date: 01/07/2025
7
7
---
8
8
9
9
# Get latest versions of Azure Cosmos DB documents
@@ -33,7 +33,7 @@ TestTable
33
33
| summarize arg_max(_timestamp, *) by Id
34
34
```
35
35
36
-
If you used soft markers to mark deleted documents, you can filter them out with the following query:
36
+
If you use [soft markers to indicate deleted documents](/azure/cosmos-db/nosql/change-feed-design-patterns?tabs=latest-version#deletes), you can filter out these documents with a query. For example, if you use a Boolean property called `IsDeleted` that indicates deleted documents, you can use the following query to filter out the soft deleted documents:
@@ -28,17 +28,19 @@ Changes the tables's [mirroring policy](mirroring-policy.md). The mirroring poli
28
28
|--|--|--|--|
29
29
|*TableName*| string|:heavy_check_mark:|A table name that adheres to the [Entity names](../query/schema-entities/entity-names.md) rules.|
30
30
|*Partitions*| string|| A comma-separated list of columns used to divide the data into smaller partitions. See [Partitions formatting](#partitions-formatting). |
31
+
|*propertyName*, *propertyValue*|`string`|| A comma-separated list of key-value property pairs. See [supported properties](#supported-properties).|
> 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.
36
37
37
-
## Properties
38
+
## Supported properties
38
39
39
40
|Name|Type|Description|
40
41
|--|--|--|
41
42
|`IsEnabled`|`bool`| A Boolean value that determines whether the mirroring policy is enabled. Default is `true`. When the mirroring policy is disabled and set to `false`, the underlying mirroring data is soft-deleted and retained in the database. |
43
+
|`TargetLatencyInMinutes`|`int`| The write operation delay in minites. By default, the write operation can take up to 3 hours or until there's 256 MB of data available. You can adjust the delay to a value between 5 minutes and 3 hours. |
Every data value, like the value of an expression or a function parameter, has a *data type*. A data type is either a *scalar data type*, which is one of the built-in predefined types listed below, or a *user-defined record*, which is an ordered sequence of name and scalar-data-type pairs, like the data type of a row in a table.
12
+
Every data value, like the value of an expression or a function parameter, has a *data type* which is either a *scalar data type* or a *user-defined record*. A *scalar data type*is one of the built-in predefined types in [Supported data types](#supported-data-types). A *user-defined record* is an ordered sequence of name and scalar-data-type pairs, like the data type of a row in a table.
13
13
14
14
> [!NOTE]
15
-
> User-defined data types are not supported in Kusto.
15
+
> While user-defined records are supported in Kusto, user-defined data types aren't.
16
16
17
17
## Supported data types
18
18
@@ -32,7 +32,7 @@ The following data types are supported:
32
32
|[timespan](timespan.md) (`time`) | A time interval. |
33
33
34
34
> [!TIP]
35
-
> To check the data type of a value, use the the [gettype()](../gettype-function.md) function.
35
+
> To check the data type of a value, use the [gettype()](../gettype-function.md) function.
0 commit comments