This commit is contained in:
Jeff Zhang 2021-08-07 13:26:45 +08:00
parent 183660aeb6
commit 46c4f08059

View file

@ -68,7 +68,7 @@ public class PythonInterpreterPandasSql extends Interpreter {
throws InterpreterException {
LOGGER.info("Running SQL query: '{}' over Pandas DataFrame", st);
return pythonInterpreter.interpret(
"z.show(pysqldf('" + st + "'))", context);
"z.show(pysqldf('" + st.trim() + "'))", context);
}
@Override