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 =
相关文章
相关标签/搜索