Hive启动方式

方式一:直接使用 进入hive安装目录下执行 bin/hive 或者配置了环境变量,在任意窗口下执行hive 设置一些基本参数,让hive使用起来更便捷,好比: 让提示符显示当前库: hive>set hive.cli.print.current.db=true; 显示查询结果时显示字段名称: hive>set hive.cli.print.header=true; *这样设置只对当前会话有效。
相关文章
相关标签/搜索