Skip to content

Commit bdedc32

Browse files
committed
Update HiveClientImpl.scala
1 parent 04cddea commit bdedc32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private[hive] class HiveClientImpl(
207207
} catch {
208208
// SPARK-37069: not all Hive versions have the above method (e.g., Hive 2.3.9 has it but
209209
// 2.3.8 don't), therefore here we fallback when encountering the exception.
210-
case _: NoSuchMethodError =>
210+
case _: NoSuchMethodException =>
211211
Hive.get(conf)
212212
}
213213
}

0 commit comments

Comments
 (0)