Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
1.6.3, 1.7.2
-
None
Description
flink execute sql :
select count(ad_action) as cnt from ad_sdk_android where ad_position_id = '100055' and ad_action = 'click' and (event_type IS NULL OR event_type <> '2'AND event_type <> '10')
the result is 20, but in mysql and hive, this result is 17.
The key condition is :
and (event_type IS NULL OR event_type <> '2'AND event_type <> '10')
and event_type is varchar, flink is string data type.
mysql has the key condition sql result is:
mysql no the key condition sql result is: