how to write subquery and use “In” Clause in Hive

后端 未结 7 1784
滥情空心
滥情空心 2021-01-31 19:49

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

7条回答
  •  深忆病人
    2021-01-31 20:28

    Hive 0.13 now do support IN/EXISTS in the WHERE-clause .. The issue https://issues.apache.org/jira/browse/HIVE-784 has been resolved after 4 years :)

提交回复
热议问题