phoenix join操作不能与hbase配合使用 [英] phoenix join operation not working with hbase
问题描述
我使用 hbase-1.1.0.1
和 phoenix-4.4.0-HBase-1.1-bin
版本。要运行SQL查询,我使用 SQuirrel
SQL客户端。
I am using hbase-1.1.0.1
and phoenix-4.4.0-HBase-1.1-bin
versions. To run SQL query I am using SQuirrel
SQL client.
简单查询,例如选择*
,选择计数(*)
, where子句
和子查询运行正常,但 JOIN
操作根本不工作。请帮助我。
Simple queries such as Select *
, Select count(*)
, where clause
and sub queries are working fine, but JOIN
operation is not working at all. Please help me on this.
推荐答案
我得到了解决方案。实际上我做了一个错误,我把phoenix-core-4.4.0-HBase-1.1.jar复制到我的hbase的lib目录中。当我用phoenix-4.4.0-HBase-1.1-server.jar替换它的问题得到解决!现在加入操作正在进行。
I got the solution for this. Actually I did a mistake where I copied "phoenix-core-4.4.0-HBase-1.1.jar" into my hbase's lib directory. When I replaced it with "phoenix-4.4.0-HBase-1.1-server.jar" problem got resolved ! Now join operation is working.
这篇关于phoenix join操作不能与hbase配合使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!