开发者社区 问答 正文

Hologres报错ERROR: set-valued function called in ...

已解决

Hologres报错ERROR: set-valued function called in context that cannot accept a set

展开
收起
提个问题 2024-05-29 16:10:07 74 分享 版权
1 条回答
写回答
取消 提交回答
  • 开发者社区问答官方账号
    官方回答
    采纳回答
    是函数用法问题,将jsonb_array_elements_text(unnest(metainfo::text[])::jsonb->'objectivesPrincipal') 改写,将unnest函数查询抽出一个子查询,在子查询外层用jsonb_array_elements_text函数。
    2024-05-29 16:10:08
    赞同 1 展开评论