Re: Parsing nested joins in Hive

2012-08-03 Thread Tucker, Matt
Hi, Try the following statement instead: Select * from orderdetails left semi join ( select orderid from orders left semi join sites on orders.siteid = sites.siteid ) orders on orderdetails.orderid = orders.orderid; Matt On Aug 3, 2012

Parsing nested joins in Hive

2012-08-03 Thread kumar avijit
Hi Hive users, According to the grammar for Joins at https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Joins, Hive should be able to parse joins where the table reference on the right-hand side is itself a join. For instance, one should be able to specify (a join (b join c)) as: