我尝试使用Azure- data -Explorer来创建存储在Azure-Data-LakeGen2中的IoT数据的时间序列。中的文件夹结构是"archive/yyyy/MM/dd/HH/*.json“。
这样做的目的是:
我尝试过第一步(在Azure-Data-Explorer查询中):
.create external table ExternalAdlGen2 (timestamp:datetime, timestamp2:datetime, deviceId:string, telemetry:dynamic)
kind=adl
partition format_datetime="'year='yyyy/'month='MM/'day='dd/'hour='HH" by bin(timestamp, 1h)
dataformat=json
(
@h'abfss://filesystem@<storage acount name>.dfs.core.windows.net/archive/path;sharedkey=<access key>'
)还包括:
.create external table ExternalAdlGen2 (timestamp:datetime, timestamp2:datetime, deviceId:string, telemetry:dynamic)
kind=adl
partition format_datetime="'year='yyyy/'month='MM/'day='dd/'hour='HH" by bin(timestamp, 1h)
dataformat=json
(
@h'abfss://filesystem@<storage acount name>.dfs.core.windows.net/archive/path;sharedkey=<access key>'
)
with
(
docstring = "Docs",
folder = "ExternalTables",
namePrefix="Prefix"
) 结果是以下错误消息:“错误我无法解析,对不起。clientRequestId: KustoWebV2;some_guid”
你有什么建议如何正确地做这件事吗?
提前谢谢。
发布于 2019-07-24 15:24:13
文档中有一个错误,很快就会修复。
在URL规范中-请将@h'abfss://...替换为h@'abfss://...
https://stackoverflow.com/questions/57178318
复制相似问题