Allow == and != against empty string - #401
Conversation
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
|
Is "metadata explicitly set to empty string" the intended scope? Blank Oracle is the real problem: verified against Oracle 23 Free with ojdbc8 that |
|
@pacmano1, the intent is indeed "empty string". I agree that a future "not set" filter may be valuable (especially on oracle, which weirdly considers |
|
Hi @mgaffigan Why not use a new "null or empty" checkbox instead of leaving the value field blank, which can be ambiguous? Regards, |
Because equals empty was already supported by the backend, it only required the client to allow it. I agree that future work to compare null would be useful. |
Closes #300
Example channel for testing
search for empty string.xml
Test matrix:
== ''works on message with matching empty metadata!= ''works on message with matching populated metadata== ''does not match on message with populated metadata!= ''does not match on message with empty metadata''Not supported on Oracle.