【发布时间】:2020-05-08 19:19:03
【问题描述】:
大家好,
我目前正在尝试使用批处理操作来摄取数据。我的查询是这样写的:
.set-or-append tableName with (folder = "rocky")<|
let _Scope = () {
let N = 4;
range p from 0 to N-1 step 1
| partition by p
{
functionName((list_of_ids()
| where hash(something, N) == toscalar(p)), datetime(2020-05-03))
| extend
batch_num = toscalar(p)
}
};
union (_Scope())
我想了解这是否会为每个分区并行运行或按顺序运行?如果并行,我怎样才能更好地优化它? .非常感谢任何帮助。
【问题讨论】:
-
这实际上是在排队 N .set-or-append 操作吗?我很难看到如何。