首页 > 解决方案 > 类型“数据库”的错误实体名称“N/A”不存在

问题描述

我正在使用 Azure Date Explorer 服务。我正在尝试按照教程并使用以下方法创建表:

.create table StormEvents (StartTime: datetime, EndTime: datetime, EpisodeId: int, EventId: int, State: string, EventType: string, InjuriesDirect: int, InjuriesIndirect: int, DeathsDirect: int, DeathsIndirect: int, DamageProperty: int, DamageCrops: int, Source: string, BeginLocation: string, EndLocation: string, BeginLat: real, BeginLon: real, EndLat: real, EndLon: real, EpisodeNarrative: string, EventNarrative: string, StormSummary: dynamic)

但是我收到消息:类型“数据库”的错误实体名称“N/A”不存在。clientRequestId:KustoWebV2;38b1da41-5827-4d55-986a-457190528f82

标签: azure-data-explorer

解决方案


好的,我解决了。似乎有一个错误。

使用 Azure 门户创建数据库后,单击查询。您将在显示集群的中间窗格中看到它显示错误。

  1. 返回您的集群概览,获取 URL(即https://DBNAME.YOURREGION.kusto.windows.net
  2. 转到显示错误的位置,单击编辑,然后粘贴 URI

它现在应该可以工作了。同样有趣的是,当您再次点击编辑时,URL 会显示为与错误螺母以某种方式再次粘贴它时相同的短格式。


推荐阅读