简体   繁体   中英

Translate LEFT JOIN UNNEST in Presto/Trino to Hive

Was wondering what the equivalent of the below in Presto/Trino is

LEFT JOIN UNNEST(colname) as t(renamedcol) on true

On Hive

I know CROSS JOIN UNNEST translates to LATERAL VIEW EXPLODE but I can't figure out the syntax for LEFT JOIN UNNEST for whatever reason

For those wondering, this is equivalent to

LATERAL VIEW OUTER explode()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM