I am looking for something in hive like
Select * from table 1 where dt > (Select max(dt) from table2)
Obviously hive doesn't support sub queries in where clause and also, even if I use joins or semi join, it compares only = and not > (As far as I know).
Can some one please suggest me an alternative solution to write the same query in hive?