【发布时间】:2018-10-01 15:27:13
【问题描述】:
我正在运行一个查询
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}
【问题讨论】:
标签: presto
我正在运行一个查询
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}
【问题讨论】:
标签: presto
原来我试图扩展一行,这没有意义。 我应该做的
select bar.thing1
from foo
【讨论】: