Skip to content

Commit

Permalink
[Minor] Add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
zjffdu committed Dec 18, 2020
1 parent e2579d2 commit 8d0788e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ private InterpreterResult executeSql(String dbPrefix, String sql,
try {
List<String> sqlArray = sqlSplitter.splitSql(sql);
for (String sqlToExecute : sqlArray) {
LOGGER.info("Execute sql: " + sqlToExecute);
statement = connection.createStatement();

// fetch n+1 rows in order to indicate there's more rows available (for large selects)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ && getDeployMode().equals("cluster")) {
LOGGER.warn("spark-defaults.conf doesn't exist: {}", sparkDefaultFile.getAbsolutePath());
}

LOGGER.debug("buildEnvFromProperties: {}", env);
LOGGER.info("buildEnvFromProperties: {}", env);
return env;

}
Expand Down

0 comments on commit 8d0788e

Please sign in to comment.