gpt4 book ai didi

presto - 错误查询失败 : Cannot unnest type: row

转载 作者:行者123 更新时间:2023-12-01 13:21:06 28 4
gpt4 key购买 nike

我正在运行一个查询

select bar_tbl.thing1
from foo
cross join unnest(bar) as t(bar_tbl)

并得到错误 Error Query failed: Cannot unnest type: row
为什么?

条形列看起来像这样 {thing1=abc, thing2=def}

最佳答案

结果我试图扩大一行,这是没有意义的。
我应该刚刚完成

select bar.thing1
from foo

关于presto - 错误查询失败 : Cannot unnest type: row,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49949652/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com