diff --git a/java/openmldb-batch/src/main/scala/com/_4paradigm/openmldb/batch/api/OpenmldbSession.scala b/java/openmldb-batch/src/main/scala/com/_4paradigm/openmldb/batch/api/OpenmldbSession.scala index 9a3113b4c09..a68512255ca 100755 --- a/java/openmldb-batch/src/main/scala/com/_4paradigm/openmldb/batch/api/OpenmldbSession.scala +++ b/java/openmldb-batch/src/main/scala/com/_4paradigm/openmldb/batch/api/OpenmldbSession.scala @@ -174,6 +174,8 @@ class OpenmldbSession { * @return */ def openmldbSql(sqlText: String): OpenmldbDataframe = { + logger.info("Try to execute OpenMLDB SQL: " + openmldbSql) + if (config.enableSparksql) { return OpenmldbDataframe(this, sparksql(sqlText)) }