Hive SQL on where 優化(先作join,left join時on中條件無過濾記錄做用,後作where條件過濾記錄。on 優先級高於 where)

1. select t.* from A f join B t  on (f.id = t.id and f.分區=20181111 and t.分區=20181111)   2. select t.* from (select id from A where 分區=20181111) f join (select * from B where 分區=20181111) t on (f.id =
相關文章
相關標籤/搜索