エラーを失敗しました。CosmosDBへのストリームAnalyticsは、常に私は私が私のクエリで送信てるものと一致していないそうだ
私のクエリは:
SELECT
udf.CreateGuid('') AS [id],
udf.CreateGuid('') AS [DocumentId],
BlobName,
BlobLastModifiedUtcTime,
[telmetry].[event_type] as PartitionKey,
-- webhook
[telmetry].[id] AS [hook_id],
[telmetry].[event_version],
[telmetry].[create_time],
[telmetry].[resource_type],
[telmetry].[event_type],
[telmetry].[summary],
[telmetry].[resource],
[telmetry].[links]
INTO
[cosmosdb2]
FROM
[telemetrydepot] AS [telmetry]
TIMESTAMP BY [telmetry].[create_time]
ここでは、輸出の設定です:
ノー成功を収めてDocumentId
またはid
に文書IDプロパティを設定しようとしました。私もちょうどなし成功CosmosDBドキュメントIDプロパティにIDや文書IDを入れて(もしようとして個々の実行で保存するために何かを得るために結果に追加のID、文書IDとのPartitionKeyフィールドを投げています。保存するために何かを得ることができません...私は戻って取得しています
エラーは言う:
An error occurred while preparing data for DocumentDB. The output record does not contain the column DocumentId to use as the partition key property by DocumentDB