.clear cluster cache external-artifacts command
Applies to: ✅ Azure Data Explorer
Clears cached external-artifacts of language plugins.
This command is useful when you update external-artifact files stored in external storage, as the cache may retain the previous versions. In such scenarios, executing this command will clear the cache entries and ensure that subsequent queries run with the latest version of the artifacts.
Permissions
You must have at least Database Admin permissions to run this command.
Syntax
.clear
cluster
cache
external-artifacts
(
ArtifactURI [,
... ] )
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
ArtifactURI | string |
✔️ | The URI for the external-artifact to clear from the cache. |
Returns
This command returns a table with the following columns:
Column | Type | Description |
---|---|---|
ExternalArtifactUri | string |
The external artifact URI. |
State | string |
The result of the clear operation on the external artifact. |
Example
.clear cluster cache external-artifacts ("https://kustoscriptsamples.blob.core.chinacloudapi.cn/samples/R/sample_script.r", "https://kustoscriptsamples.blob.core.chinacloudapi.cn/samples/python/sample_script.py")
ExternalArtifactUri | State |
---|---|
https://kustoscriptsamples.blob.core.chinacloudapi.cn/samples/R/sample_script.r | Cleared successfully on all nodes |
https://kustoscriptsamples.blob.core.chinacloudapi.cn/samples/python/sample_script.py | Cleared successfully on all nodes |