【问题标题】:Expression invalid表达式无效
【发布时间】:2018-10-07 13:30:26
【问题描述】:

Azure 数据工厂错误:

The expression 'item().$v.collection.$v' cannot be evaluated because property '$v' doesn't exist, available properties are '$t, $v._id.$t, $v._id.$v, $v.id.$t, $v.id.$v, $v.database.$t, $v.database.$v, $v.collection.$t, $v.collection.$v, id, _self, _etag, _rid, _attachments, _ts'

我怎样才能解决这个问题? 我在 forEach 中使用这个表达式,它连接到从 CosmosDB 读取值的查找活动。我只对单列感兴趣,但 SQL:

select collection from backups 

没有用,因此我从“Query”切换到“Table”,因此查找活动的输出包含 json 对象,其中的字段包含 $

【问题讨论】:

    标签: azure-data-factory azure-data-factory-2


    【解决方案1】:

    此错误是由于每个活动都处理“。”作为属性访问器,请使用表达式“@item()['$v.collection.$v']”来绕过错误。谢谢。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-24
      • 2017-10-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多