Trafodion 查看原生Hive表

来源:互联网 发布:mysql中添加外键约束 编辑:程序博客网 时间:2024/05/15 09:54

Trafodion中的get命令可以用来查看Hive中有哪些表,具体方法如下,
关于get命令的详细用法,请参考官方文档:http://trafodion.incubator.apache.org/docs/sql_reference/index.html#get_statement

1 hive命令查看hive中的表

hive> show tables in default;OKaaeboxdataeboxdata30weboxdata_30meboxdata_30m_tmpnative_zhiyiTime taken: 0.024 seconds, Fetched: 6 row(s)hive> show schemas;OKdefaultpksaasTime taken: 1.814 seconds, Fetched: 2 row(s)

2 Trafodion查看hive中的表

[trafodion@n12 ~]$ trafciWelcome to EsgynDB Enterprise Command InterfaceCopyright (c) 2015-2016 Esgyn CorporationHost Name/IP Address: n12:23400User Name: zzConnected to EsgynDB AdvancedSQL>get tables in schema hive.hive;aaeboxdataeboxdata_30meboxdata_30m_tmpeboxdata30wnative_zhiyi--- SQL operation complete.SQL>get tables in schema hive.pksaas;eboxdata--- SQL operation complete.
1 0
原创粉丝点击