Skip to content

Commit

Permalink
Update HiveThriftServer2Suites.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen authored Sep 14, 2024
1 parent 691619e commit 8c8eb61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1430,13 +1430,13 @@ abstract class HiveThriftServer2TestBase extends SparkFunSuite with BeforeAndAft

protected def jdbcUri(database: String = "default"): String = if (mode == ServerMode.http) {
s"""jdbc:hive2://$localhost:$serverPort/
|$database?
|$database;
|transportMode=http;
|httpPath=cliservice;
|${hiveConfList}#${hiveVarList}
""".stripMargin.split("\n").mkString.trim
} else {
s"jdbc:hive2://$localhost:$serverPort/$database?${hiveConfList}#${hiveVarList}"
s"jdbc:hive2://$localhost:$serverPort/$database;${hiveConfList}#${hiveVarList}"
}

private def tryCaptureSysLog(f: => Unit): Unit = {
Expand Down

0 comments on commit 8c8eb61

Please sign in to comment.