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/44977 github. com/Juniper/ contrail- analytics/ commit/ a666e73204f3925 3ae6e0e4e884eac 2d6da7424b
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0
commit a666e73204f3925 3ae6e0e4e884eac 2d6da7424b
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