为什么Phoenix查询“ IS NOT NULL”不起作用?

时间:2020-01-02 05:59:10

标签: phoenix

请帮助,我不明白为什么“不为空”不适用于基于Phoenix的查询。谢谢! 请参阅下面的示例查询:(请注意两个查询的最后一行)

此查询有效:

SELECT count(1) FROM
A.ACTIVITY
WHERE type = 'coupon' AND 
in_period(activityts, 'last1m') = true AND 
parent_id = 1 AND 
NOT member_id is NULL

下面没有,

SELECT count(1) FROM
A.ACTIVITY
WHERE type = 'coupon' AND 
in_period(activityts, 'last1m') = true AND 
parent_id = 1 AND 
member_id is NOT NULL

0 个答案:

没有答案