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.
Reviewed: https:/ /review. opencontrail. org/44976 github. com/Juniper/ contrail- analytics/ commit/ 0a2d02e12cf4c3b 274b32307d11e3f 8b51170622
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit 0a2d02e12cf4c3b 274b32307d11e3f 8b51170622
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: I893d3036fd22ce 399186f4cc67812 de2fa46701c
Closes-bug: #1774364