Mysql 不像蜂巢里的陈述

Mysql 不像蜂巢里的陈述,mysql,hive,Mysql,Hive,在mysql中,我使用以下语句在数据库中查找表与不同 show tables where `Tables_in_db` not like '%_table' 我可以使用下面的语句在hive中查找表like show tables like '*table' 但无法使用不相似的语句 show tables where `Tables_in_db` not like '*_table' 在Hive中是否有此语句的等效项 可以使用以下选项: 在SQL中: select * from table

mysql
中,我使用以下语句在数据库中查找表
不同

show tables where `Tables_in_db` not like '%_table'
我可以使用下面的语句在hive中查找表
like

show tables like '*table' 
但无法使用
不相似的
语句

show tables where `Tables_in_db` not like '*_table'

Hive
中是否有此语句的等效项

可以使用以下选项:

在SQL中:

select * from tableName where columnName not like '%something%';
在蜂箱中:

select * from tableName where not (columnName like '%something%');

希望有帮助。

查询metastore@DuduMarkovitz我们没有
hive
metastore,当然你没有。您认为
show tables
显示的信息用于何处?。检查参数
javax.jdo.option.ConnectionURL
。最初的问题似乎是关于在配置单元
show tables
语句中使用
not like
,而不是
select
语句。我认为,最初的观点是:
像'abc'一样显示表格
有效,但是
像'abc'一样显示表格
无效。有什么想法吗?