Skip to content

Commit d3fbdc5

Browse files
committed
typo
1 parent 7251be9 commit d3fbdc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ class SessionCatalog(
11081108
val clazz = Utils.classForName(functionClassName)
11091109
(children: Seq[Expression]) => {
11101110
try {
1111-
makeFunctionExpression(name, Utils.classForName(functionClassName), children).getOrElse {
1111+
makeFunctionExpression(name, clazz, children).getOrElse {
11121112
val extraMsg =
11131113
if (!isUsingHiveMetastore) "Use sparkSession.udf.register(...) instead." else ""
11141114
throw new AnalysisException(

0 commit comments

Comments
 (0)