From 6a49bfadba3b18e9b2c41702e4ea54752518579d Mon Sep 17 00:00:00 2001 From: liangbowen Date: Wed, 29 Nov 2023 00:12:46 +0800 Subject: [PATCH] seq --- .../scala/org/apache/kyuubi/util/command/CommandLineUtils.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala b/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala index c06bd05bf8a..92ca3a52571 100644 --- a/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala +++ b/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala @@ -38,7 +38,7 @@ object CommandLineUtils { * Assemble key value pair with config option prefix */ def confKeyValue(key: String, value: String, confOption: String = CONF): Iterable[String] = - Stream(confOption, genKeyValuePair(key, value)) + Seq(confOption, genKeyValuePair(key, value)) def confKeyValueStr(key: String, value: String, confOption: String = CONF): String = confKeyValue(key, value, confOption).mkString(" ")