sql execution order in hive

1.from 

2.join on or lateral view explode (to be burst column) column name after tbl as burst

3.where

4.group by (started with the alias select, from the available group onward)

5. The aggregate function Sum () avg () count (1), etc.

6.having

If the windowing function comprising 7.select over (), a windowing function to perform non After select wait after executing a windowing function, and then select execution finished, the windowing function and sort through the partition table data, with the select query field parallel relationship does not depend query field.

8.distinct

9.order by 

Guess you like

Origin www.cnblogs.com/sunpengblog/p/11322170.html