请帮助,我不明白为什么“不为空”不适用于基于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