4
當退出配置單元時,退出和退出有什麼區別嗎?退出和退出配置單元之間有什麼區別
當退出配置單元時,退出和退出有什麼區別嗎?退出和退出配置單元之間有什麼區別
從hive documentation看來,quit和exit執行完全相同的功能來退出配置單元CLI。
此外,根據source code這兩個命令在功能上是相同的。
if (cmd_trimmed.toLowerCase().equals("quit") || cmd_trimmed.toLowerCase().equals("exit")) {
// if we have come this far - either the previous commands
// are all successful or this is command line. in either case
// this counts as a successful run
ss.close();
System.exit(0);
} else if (...
鏈接可能會斷開,因此建議將相關部分添加到答案中(除了鏈接) –