mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-215: Use JDBC.setMastRows(maxResults) to restrict the size of the displied rows
This commit is contained in:
parent
c6acd0ea28
commit
cef2b95444
1 changed files with 2 additions and 0 deletions
|
|
@ -177,6 +177,8 @@ public class PostgreSqlInterpreter extends Interpreter {
|
|||
|
||||
currentStatement = getJdbcConnection().createStatement();
|
||||
|
||||
currentStatement.setMaxRows(maxResult);
|
||||
|
||||
StringBuilder msg = null;
|
||||
boolean isTableType = false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue