Nadav Har'El
09a71ccd84
merge: cql3/restrictions: exclude NULLs from comparison in filtering
...
Merge pull request https://github.com/scylladb/scylla/pull/6834 by
Juliusz Stasiewicz:
NULLs used to give false positives in GT, LT, GEQ and LEQ ops performed upon
ALLOW FILTERING. That was a consequence of not distinguishing NULL from an
empty buffer.
This patch excludes NULLs on high level, preventing them from entering LHS
of any comparison, i.e. it assumes that any binary operation should return
false whenever the LHS operand is NULL (note: at the moment filters with
RHS NULL, such as ...WHERE x=NULL ALLOW FILTERING, return empty sets anyway).
Fixes #6295
* '6295-do-not-compare-nulls-v2' of github.com:jul-stas/scylla:
filtering_test: check that NULLs do not compare to normal values
cql3/restrictions: exclude NULLs from comparison in filtering
2020-07-15 18:32:14 +03:00
..
2020-07-08 13:39:15 +02:00
2020-06-10 15:49:51 +03:00
2020-05-18 16:05:23 +02:00
2020-06-25 15:37:23 -07:00
2020-07-14 16:29:43 +03:00
2020-05-28 11:34:35 +03:00
2020-03-05 11:38:11 +03:00
2020-05-28 11:34:35 +03:00
2020-06-16 16:15:23 +02:00
2020-07-03 08:24:41 +02:00
2020-07-08 15:36:41 +02:00
2020-03-10 13:13:48 -07:00
2020-05-28 11:34:35 +03:00
2020-05-07 16:19:56 +03:00
2020-04-09 11:22:49 +02:00
2020-05-28 11:34:35 +03:00
2020-03-23 23:19:21 +03:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-07-07 23:08:09 +02:00
2020-07-09 13:52:52 +03:00
2020-03-05 11:38:11 +03:00
2020-06-26 20:28:25 +03:00
2020-07-14 16:29:53 +03:00
2020-05-26 20:46:45 +03:00
2020-06-03 14:44:00 +02:00
2020-06-18 14:18:21 +03:00
2020-03-05 16:09:44 +01:00
2020-05-28 11:34:35 +03:00
2020-06-18 15:13:56 +03:00
2020-06-12 22:14:33 +03:00
2020-04-05 12:46:04 +03:00
2020-03-16 20:26:34 +03:00
2020-07-14 16:29:49 +03:00
2020-03-04 13:28:16 +02:00
2020-07-06 11:24:12 +03:00
2020-05-13 09:37:39 +03:00
2020-03-05 11:38:11 +03:00
2020-05-26 20:49:58 +03:00
2020-05-27 15:51:16 +03:00
2020-05-28 11:34:35 +03:00
2020-05-28 11:34:35 +03:00
2020-05-31 16:08:02 +03:00
2020-05-28 11:34:35 +03:00
2020-06-10 15:49:51 +03:00
2020-07-03 08:24:41 +02:00
2020-05-28 11:34:35 +03:00
2020-04-22 16:28:07 +08:00
2020-03-05 11:38:11 +03:00
2020-03-15 10:25:20 +01:00
2020-04-22 18:24:54 +02:00
2020-05-28 11:34:35 +03:00
2020-07-07 09:09:40 +02:00
2020-06-18 12:38:31 +03:00
2020-03-05 11:38:11 +03:00
2020-07-14 15:37:17 +02:00
2020-03-05 11:38:11 +03:00
2020-05-28 11:34:35 +03:00
2020-06-05 14:30:02 +02:00
2020-05-28 11:34:35 +03:00
2020-03-25 14:19:30 +01:00
2020-04-06 08:59:40 +02:00
2020-04-12 17:48:44 +03:00
2020-06-22 14:03:13 +03:00
2020-03-16 20:26:34 +03:00
2020-06-30 12:58:43 +03:00
2020-06-08 16:06:00 -04:00
2020-05-28 11:34:35 +03:00
2020-06-18 09:37:18 -04:00
2020-06-07 11:46:48 +03:00
2020-06-03 10:32:46 -07:00
2020-03-23 09:29:45 +02:00
2020-06-23 19:39:54 +03:00
2020-03-05 13:34:24 +03:00
2020-03-05 11:38:11 +03:00
2020-06-10 15:49:51 +03:00
2020-04-03 20:00:24 +02:00
2020-07-07 23:08:09 +02:00
2020-07-07 08:53:00 +02:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00
2020-03-16 20:27:45 +03:00