mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
prefix zeppelin. to property zeppelin.livy.sql.maxResult
This commit is contained in:
parent
9be64e09e8
commit
a6e7d0b47e
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ public class LivySparkSQLInterpreter extends Interpreter {
|
|||
"livy",
|
||||
LivySparkSQLInterpreter.class.getName(),
|
||||
new InterpreterPropertyBuilder()
|
||||
.add("livy.spark.maxResult",
|
||||
.add("zeppelin.livy.spark.maxResult",
|
||||
DEFAULT_MAX_RESULT,
|
||||
"Max number of SparkSQL result to display.")
|
||||
.build()
|
||||
|
|
@ -92,7 +92,7 @@ public class LivySparkSQLInterpreter extends Interpreter {
|
|||
line.replaceAll("\"", "\\\\\"")
|
||||
.replaceAll("\\n", " ")
|
||||
+ "\").show(" +
|
||||
property.get("livy.spark.maxResult") + ")",
|
||||
property.get("zeppelin.livy.spark.maxResult") + ")",
|
||||
interpreterContext, userSessionMap);
|
||||
|
||||
if (res.code() == InterpreterResult.Code.SUCCESS) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue