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.
Applies to: ✅ Azure Data Explorer
Changes the table's merge policy. The merge policy defines if and how Extents (Data Shards) should get merged.
Permissions
You must have at least Table Admin permissions to run this command.
Syntax
.alter-merge
table
TableName policy
merge
PolicyObject
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
TableName | string |
✔️ | The name of the table. |
PolicyObject | string |
✔️ | A serialized array of one or more JSON policy objects. For more information, see merge policy. |
Example
Change a single property of the policy at the table level, retaining all other properties as before:
.alter-merge table [table_name] policy merge ```
{
"MaxRangeInHours": 24
}```