在本次学过程中,因个人本机windows mysql存在问题,所以采用的是derby初始化的Hive
首先进入
apache-hive-3.1.2-bin
的bin目录
启动hive命令
set hive.cli.print.current.db=true (显示当前数据库)
set hive.cli.print.header=true (设置显示表头)

在本次学过程中,因个人本机windows mysql存在问题,所以采用的是derby初始化的Hive
首先进入
apache-hive-3.1.2-bin
的bin目录
启动hive命令
set hive.cli.print.current.db=true (显示当前数据库)
set hive.cli.print.header=true (设置显示表头)