AstToSqlVisitor
can not handle a function call as right hand side of contains-filter
#47
Labels
bug
Something isn't working
Steps to reproduce:
contains(tolower(name), tolower('A'))
to SQL using theAstToSqlVisitor
-> error:
Bug spotted:
AstToSqlVisitor._to_pattern
does not take into account that thearg
could be anast.Call
(and assumes a literal in theelse
branch)Proposed solution:
Change
Into
The text was updated successfully, but these errors were encountered: