use source lookup for analyzed columns in whereClause if inside functions

-> where substr(analyzed_text, 1,1) = 'x'

threw GroupByOnArrayUnsupported exception, now it works correctly using source
lookup
not sure, maybe es removes it somewhere? We always set it on create table. But tests failed without it