Comment 31 for bug 1774364

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45023
Committed: http://github.com/Juniper/contrail-controller/commit/7688544c43d1a981e2f72d91ddce0227c99146e2
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 7688544c43d1a981e2f72d91ddce0227c99146e2
Author: mkheni <email address hidden>
Date: Fri Jul 27 12:33:31 2018 -0700

Fix <field>=* prefix queries in QueryEngine

Sometimes <field>=* prefix queries translate to <field> LIKE '%'
where condition in cassandra. Cassandra doesn't allow such where
clauses and returns error. If QE receives such where clause, ignore
it as it effectively translate to no where condition.

Added systemless test to verify the behavior

Change-Id: I893d3036fd22ce399186f4cc67812de2fa46701c
Closes-bug: #1774364