mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
trim sql
This commit is contained in:
parent
183660aeb6
commit
46c4f08059
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue