Skip to content

Commit

Permalink
Log openmldb sql when executing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobegit3hub committed Nov 24, 2023
1 parent 72f752b commit be3d073
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit be3d073

Please sign in to comment.