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
hm if its empty the assertion message is misleading...