[ https://issues.apache.org/jira/browse/HIVE-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haitian updated HIVE-4582: -------------------------- Description: I have two ways to write hive scripts: 1. Use "hive -f " to execute the scripts.q which have dozens of hiveQL. 2. Directly execute the scripts.sh which have dozens of hive -e "hiveQL". Which way has better efficiency? Another question, I cannot find hive optimise rules like Pig,where is hive optimise rules? was: I have two ways to write hive scripts: 1. Use "hive -f " to execute the scripts.q which have dozens of hiveQL. 2. Directly execute the scripts.sh which have dozens of hive -e "hiveQL". Which way has better efficiency? > -e -f efficiency > ---------------- > > Key: HIVE-4582 > URL: https://issues.apache.org/jira/browse/HIVE-4582 > Project: Hive > Issue Type: Test > Environment: hive-0.10.0 > Reporter: Haitian > > I have two ways to write hive scripts: > 1. Use "hive -f " to execute the scripts.q which have dozens of hiveQL. > 2. Directly execute the scripts.sh which have dozens of hive -e "hiveQL". > Which way has better efficiency? > Another question, I cannot find hive optimise rules like Pig,where is hive > optimise rules? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira