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(" ")