If anyone would know what the issue here is please ? I am running this in Hive
 select * from a left join b
 on a.id=b.id and a.date between b.start_dte and b.end_dte  
Error while compiling statement: FAILED: SemanticException line 0:undefined:-1 Both left and right aliases encountered in JOIN 'end_dte'
 
    