Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync for protected branch #2467

Merged
merged 9 commits into from
Dec 3, 2024
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: .delete materialized-view policy merge command
description: Learn how to use the `.delete materialized-view policy merge` command to delete a materialized view's merge policy.
ms.reviewer: yifats
ms.topic: reference
ms.date: 12/03/2024
---
# .delete materialized-view policy merge command

> [!INCLUDE [applies](../includes/applies-to-version/applies.md)] [!INCLUDE [fabric](../includes/applies-to-version/fabric.md)] [!INCLUDE [azure-data-explorer](../includes/applies-to-version/azure-data-explorer.md)]

Delete a materialized view's [merge policy](merge-policy.md). The merge policy defines if and how [Extents (Data Shards)](../management/extents-overview.md) should get merged.

## Permissions

You must have at least [Table Admin](../access-control/role-based-access-control.md) permissions to run this command.

## Syntax

`.delete` `materialized-view` *MaterializedViewName* `policy` `merge`

[!INCLUDE [syntax-conventions-note](../includes/syntax-conventions-note.md)]

## Parameters

|Name|Type|Required|Description|
|--|--|--|--|
|*MaterializedViewName*| `string` | :heavy_check_mark:|The name of the materialized view for which to delete the merge policy.|

### Example

The following command deletes the merge policy at the materialized view level.

```kusto
.delete materialized-view MyMaterializedView policy merge
```
3 changes: 3 additions & 0 deletions data-explorer/kusto/management/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ items:
- name: .delete table policy merge command
href: delete-table-merge-policy-command.md
displayName: .delete table merge policy
- name: .delete materialized-view policy merge command
href: delete-materialized-view-merge-policy-command.md
displayName: .delete materialized-view merge policy
- name: .show database policy merge command
href: show-database-merge-policy-command.md
displayName: .show database merge policy
Expand Down
28 changes: 27 additions & 1 deletion data-explorer/kusto/query/strcat-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: strcat()
description: Learn how to use the strcat() function to concatenate between 1 and 64 arguments.
ms.reviewer: alexans
ms.topic: reference
ms.date: 08/11/2024
ms.date: 11/28/2024
---
# strcat()

Expand Down Expand Up @@ -32,6 +32,10 @@ The arguments concatenated to a single string.

## Examples

### Concatenated string

The following example uses the `strcat()` function to concatenate the strings provided to form the string, "hello world." The results are assigned to the variable `str`.

:::moniker range="azure-data-explorer"
> [!div class="nextstepaction"]
> <a href="https://dataexplorer.azure.com/clusters/help/databases/Samples?query=H4sIAAAAAAAAAysoyswrUSguKVKwBZHJiSUaShmpOTn5SjoKSgogojy/KCdFSRMA4dg7JykAAAA=" target="_blank">Run the query</a>
Expand All @@ -46,3 +50,25 @@ print str = strcat("hello", " ", "world")
|str|
|---|
|hello world|

### Concatenated multi-line string

The following example uses the `strcat()` function to create a concatenated multi-line string which is saved to the variable, `MultiLineString`. It uses the newline character to break the string into new lines.

:::moniker range="azure-data-explorer"
> [!div class="nextstepaction"]
> <a href="https://dataexplorer.azure.com/clusters/help/databases/Samples?query=H4sIAAAAAAAAAysoyswrUfAtzSnJ9MnMSw0uAfLTFWwVikuKkhNLNJRAggqGMXlKOgoQthES21hJEwDpW0wqQAAAAA%3D%3D" target="_blank">Run the query</a>
::: moniker-end

```kusto
print MultiLineString = strcat("Line 1\n", "Line 2\n", "Line 3")
```

**Output**


The results show the expanded row view with the multiline string.

|MultiLineString|
|---|
|1. "MultiLineString": Line 1<br />2. Line 2<br />3. Line 3|
Loading