Hive Partition files on HDFS Add New Partition to the Hive Table Below explanation shows that how can we use order by function in a hive: SELECT , FROM ORDER BY