【问题标题】:Why does hint.materialized not work with as operator?为什么 hint.materialized 不能与 as 运算符一起使用?
【发布时间】:2022-12-03 13:13:50
【问题描述】:

我正在根据 documentation 使用 as 运算符:

print one=1
| as [hint.materialized = true] T

集群返回错误:

语法错误

出现识别错误。令牌:hint.materialized

线路:26,位置:6

没有提示,as 有效。

集群版本:2022.11.08.0610-GA-21af0212d-WeeklyProdPubExt

【问题讨论】:

    标签: azure-data-explorer kql


    【解决方案1】:

    尝试删除括号([])。 语法定义使用它们来表明此提示是可选的

    print one=1
    | as hint.materialized = true T
    

    【讨论】:

      猜你喜欢
      • 2011-10-29
      • 1970-01-01
      • 1970-01-01
      • 2021-11-19
      • 2023-03-25
      • 1970-01-01
      • 1970-01-01
      • 2014-12-09
      • 1970-01-01
      相关资源
      最近更新 更多