【发布时间】:2022-01-03 22:04:51
【问题描述】:
我有一个 JSON 格式的字符串字段,我试图从中提取条带拒绝代码。该字段的示例如下:
{"errors":[{"message":"Your card has insufficient funds.","type":"payment","code":"card_declined","decline_code":"insufficient_funds","gateway":"stripe","stripe":{"type":"card_error","code":"card_declined","decline_code":"insufficient_funds","message":"Your card has insufficient funds.","charge":"ch_3JodUAHkqql8g8ta1ADf5fBf"}}]}
我尝试了UNNEST 的各种组合,但仍然收到错误消息。我认为这个问题与该领域是各种 STRUCTS/Arrays 的组合但没有运气提取我需要的东西有关。任何帮助将不胜感激!
【问题讨论】:
标签: arrays struct google-bigquery extract unnest