We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7251be9 commit d3fbdc5Copy full SHA for d3fbdc5
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
@@ -1108,7 +1108,7 @@ class SessionCatalog(
1108
val clazz = Utils.classForName(functionClassName)
1109
(children: Seq[Expression]) => {
1110
try {
1111
- makeFunctionExpression(name, Utils.classForName(functionClassName), children).getOrElse {
+ makeFunctionExpression(name, clazz, children).getOrElse {
1112
val extraMsg =
1113
if (!isUsingHiveMetastore) "Use sparkSession.udf.register(...) instead." else ""
1114
throw new AnalysisException(
0 commit comments