Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer
Changes the materialized view's merge policy. The merge policy defines if and how Extents (Data Shards) should get merged.
You must have at least Database Admin permissions to run this command.
.alter-merge
materialized-view
MaterializedViewName policy
merge
PolicyObject
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
MaterializedViewName | string |
✔️ | The name of the materialized view. |
PolicyObject | string |
✔️ | A serialized array of one or more JSON policy objects. For more information, see merge policy. |
Change a single property of the policy at the materialized view level, retaining all other properties as before:
.alter-merge materialized-view [materialized_view_name] policy merge ```
{
"MaxRangeInHours": 24
}```