.clear cluster cache external-artifacts 命令

清除语言插件的缓存的 external-artifacts。

更新存储在外部存储中的 external-artifact 文件时,此命令非常有用,因为缓存可能会保留以前的版本。 在这种情况下,执行此命令将清除缓存条目,并确保后续查询使用最新版本的工件运行。

权限

你必须至少具有数据库管理员权限才能运行此命令。

语法

.clearclustercacheexternal-artifacts(ArtifactURI [, ... ] )

详细了解语法约定

参数

客户 类型​​ 必需 说明
ArtifactURI string 要从缓存中清除的 external-artifact 的 URI。

返回

此命令返回包含以下列的表:

类型​​ 说明
ExternalArtifactUri string 外部工件 URI。
状态 string 对外部工件执行清除操作的结果。

示例

.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 状态
https://kustoscriptsamples.blob.core.chinacloudapi.cn/samples/R/sample_script.r 已在所有节点上成功清除
https://kustoscriptsamples.blob.core.chinacloudapi.cn/samples/python/sample_script.py 已在所有节点上成功清除