Hive 配置单元sql语句有什么问题?

Hive 配置单元sql语句有什么问题?,hive,hiveql,Hive,Hiveql,用户id:821044249473在执行配置单元sql之后返回结果集 select distinct(t1.user_id) from b2c_d.A t1 inner join b2c_d.B t2 on t1.user_id = t2.user_id inner join b2cdc.C t3 on t1.user_id = t3.base_uid where t1.active_rate > 0.9 and t1.micloud_usage > 0.9 and t1.user_

用户id:821044249473在执行配置单元sql之后返回结果集

select distinct(t1.user_id) from b2c_d.A t1 inner join b2c_d.B t2 on t1.user_id = t2.user_id inner join b2cdc.C t3 on t1.user_id = t3.base_uid
where t1.active_rate > 0.9 and t1.micloud_usage > 0.9 and t1.user_level > 5 
 and t3.order_accessory_amount >100 and t3.order_accessory_amount < 3000 and t3.order_total_amount > 10000 and t3.order_total_amount < 50000
and t1.play_date > 10
and t1.user_id not in(
...
) 
那么,怎么了?为什么用户id 821044249473包含在结果集中


谢谢

您能否更具体地说明输入内容以及您在O/p中查看的内容。 从仅仅浏览SQL开始,我认为您将使用SEMI-join,因为在HIVEQL中,您将无法在MySQL中使用。

但是在b2cdc.C中,此用户的订单总量为2199.0,不应根据条件选择。