当前位置:Gxlcms > 数据库问题 > 在cli命令行上显示当前数据库,以及查询表的行头信息

在cli命令行上显示当前数据库,以及查询表的行头信息

时间:2021-07-01 10:21:17 帮助过:4人阅读

property> <name>hive.cli.print.header</name> <value>true</value> <description>Whether to print the names of the columns in query output.</description> </property> <property> <name>hive.cli.print.current.db</name> <value>true</value> <description>Whether to include the current database in the Hive prompt.</description> </property>

 

这样在客户端就可以显示所在的数据库了。

技术分享

 

在cli命令行上显示当前数据库,以及查询表的行头信息

标签:column   images   names   whether   val   头信息   com   ges   home   

人气教程排行