mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-1988] fix condition
This commit is contained in:
parent
7636b3ff3e
commit
42ffcb7f75
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ public class JDBCInterpreter extends Interpreter {
|
|||
|
||||
private void executePrecode(Connection connection) throws SQLException {
|
||||
String precode = getProperty(ZEPPELIN_JDBC_PRECODE_KEY);
|
||||
if (StringUtils.isNotEmpty(precode)) {
|
||||
if (StringUtils.isNotBlank(precode)) {
|
||||
logger.info("Run SQL precode '{}'", precode);
|
||||
try (Statement statement = connection.createStatement()) {
|
||||
statement.execute(precode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue