我正在运行一个查询
select bar_tbl.thing1
from foo
cross join unnest(bar) as t(bar_tbl)
Run Code Online (Sandbox Code Playgroud)
并得到了错误 Error Query failed: Cannot unnest type: row
为什么?
条形列看起来像这样 {thing1=abc, thing2=def}
ssh*_*gin 10
结果我试图扩大一行,这是没有意义的。我应该刚刚完成
select bar.thing1
from foo
Run Code Online (Sandbox Code Playgroud)