.clear cluster cache external-artifacts command
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.windows.net/samples/R/sample_script.r", "https://kustoscriptsamples.blob.core.windows.net/samples/python/sample_script.py")
ExternalArtifactUri | State |
---|---|
https://kustoscriptsamples.blob.core.windows.net/samples/R/sample_script.r | Cleared successfully on all nodes |
https://kustoscriptsamples.blob.core.windows.net/samples/python/sample_script.py | Cleared successfully on all nodes |
Related content
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for