I found a problem with plug-ins that use Impala.
I have this problem whether my SQL is correct or incorrect.
If the variable type is text, it works fine.
If the date type is a problem.
It has nothing to do with SQL itself and is more of a type transformation issue.