You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2023/01/19 16:12:57 UTC

[kyuubi] branch master updated: [KYUUBI #4189] Scala repl output log level adjusted to debug

This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 670c1715f [KYUUBI #4189] Scala repl output log level adjusted to debug
670c1715f is described below

commit 670c1715f6f9ae3cf4245bc56bcac02a9d477e75
Author: wxmimperio <wx...@outlook.com>
AuthorDate: Fri Jan 20 00:12:48 2023 +0800

    [KYUUBI #4189] Scala repl output log level adjusted to debug
    
    Motivation: When the running result of scala code is very long, all the information will be printed to info, and it is not very elegant to print the result set to the info level.
    
    Closes #4189 from imperio-wxm/master.
    
    Closes #4189
    
    3e0b7764 [wxmimperio] Scala repl output log level adjusted to debug
    
    Authored-by: wxmimperio <wx...@outlook.com>
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 .../scala/org/apache/kyuubi/engine/spark/operation/ExecuteScala.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/ExecuteScala.scala b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/ExecuteScala.scala
index 0f63dcc06..ff686cca0 100644
--- a/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/ExecuteScala.scala
+++ b/externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/operation/ExecuteScala.scala
@@ -112,7 +112,7 @@ class ExecuteScala(
               new ArrayFetchIterator[Row](result.collect())
             } else {
               val output = repl.getOutput
-              info("scala repl output:\n" + output)
+              debug("scala repl output:\n" + output)
               new ArrayFetchIterator[Row](Array(Row(output)))
             }
           }