当我退出 hive 时,“退出”和“退出”之间有什么区别吗?
最佳答案
来自 hive documentation ,似乎 quit 和 exit 执行与退出 hive 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 (...
关于hive - hive 中的退出和退出有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45710167/