How can I use In clause in Hive
I want to write something like this in Hive
select x from y where y.z in (select distinct z from y) order by x;
But I am not finding any way o
Hive does support IN/EXISTS statements since Hive 0.13 with few limitations. Please refer to https://cwiki.apache.org/confluence/display/Hive/LanguageManual+SubQueries for more details.