如何使用字符串插值在 ADF 上输出查询?

问题描述 投票:0回答:0

遵循两个指南,一个来自 Evaluate Data Flow Expressions Inline with Strings in ADF 另一个来自 Microsoft String Interpolation 我无法理解如何将我在数据流活动中使用的查询输出到调试更容易?可以看到来自管道的查询输入,但很容易在数据流上完成。

基本上高水平这是我的管道:

这是我的 ForEach 活动中的数据流:

在数据流中,我有一个源正在执行带有参数的 Kusto(Azure 数据资源管理器)查询,如下所示:

set notruncation;
let HexCode = "$HexCode$SubHexCode";
Table_1
| distinct ContainerId, VmId
| where tolower(ContainerId) startswith HexCode
| join kind=inner (
    Table_2
    | extend ContainerId = VmId
    | where startofday(TIMESTAMP) == startofday(datetime($Dates))
    | where tolower(ContainerId) startswith HexCode
    | where CounterName == "Percentage CPU"
    )
    on ContainerId
| project
    Column1,
    Column2

当我运行我的管道时,我如何才能看到预期的查询输出与值而不是变量?

azure-data-factory azure-data-factory-2
© www.soinside.com 2019 - 2024. All rights reserved.