Skip to content

Commit ae422ae

Browse files
committed
Updated
1 parent 459efbd commit ae422ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private[hive] class HiveThriftServer2(hiveContext: HiveContext)
111111

112112
private def isHTTPTransportMode(hiveConf: HiveConf): Boolean = {
113113
val transportMode: String = hiveConf.getVar(ConfVars.HIVE_SERVER2_TRANSPORT_MODE)
114-
transportMode.toLowerCase().equals("http")
114+
transportMode.equalsIgnoreCase("http")
115115
}
116116

117117
}

0 commit comments

Comments
 (0)