Optimize number of mr jobs produced by group by sort by -------------------------------------------------------
Key: HIVE-1506 URL: https://issues.apache.org/jira/browse/HIVE-1506 Project: Hadoop Hive Issue Type: Improvement Reporter: He Yongqiang Right now, select key, INPUT__FILE__NAME, count(value from src group by key, INPUT__FILE__NAME sort by key require 2 jobs and select key, INPUT__FILE__NAME, count(value from src group by key, INPUT__FILE__NAME sort by key limit 3 require 3 jobs. Both can be done with just one job. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.