mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix ci for pandassql
This commit is contained in:
parent
be5db4d5e9
commit
e8570d2b6d
1 changed files with 0 additions and 9 deletions
|
|
@ -117,17 +117,8 @@ public class PythonInterpreterPandasSqlTest implements InterpreterOutputListener
|
|||
@Test
|
||||
public void errorMessageIfDependenciesNotInstalled() {
|
||||
InterpreterResult ret;
|
||||
// given
|
||||
ret = python.interpret(
|
||||
"pysqldf = lambda q: print('Can not execute SQL as Python dependency is not installed')",
|
||||
context);
|
||||
|
||||
assertEquals(ret.message().toString(), InterpreterResult.Code.ERROR, ret.code());
|
||||
|
||||
// when
|
||||
ret = sql.interpret("SELECT * from something", context);
|
||||
|
||||
// then
|
||||
assertNotNull(ret);
|
||||
assertEquals(ret.message().get(0).getData(), InterpreterResult.Code.ERROR, ret.code());
|
||||
assertTrue(ret.message().get(0).getData().contains("no such table: something"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue