2
votes

I know hive doesn't support inequal joins and can you please help me to get another solution for the below.

select * from A a join B b on a.id=b.id and

a.date < b.date.

Thanks Inadvance.

1

1 Answers

1
votes

In-equal join support not yet available , but how about:

select * from A a join B b on a.id=b.id where  
a.date < b.date;