Comment 28 for bug 1774364

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

Reviewed: https://review.opencontrail.org/44976
Committed: http://github.com/Juniper/contrail-analytics/commit/0a2d02e12cf4c3b274b32307d11e3f8b51170622
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 0a2d02e12cf4c3b274b32307d11e3f8b51170622
Author: mkheni <email address hidden>
Date: Thu Jul 26 14:55:14 2018 -0700

Fix <field>=* prifix 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