Skip to content
Prev Previous commit
Next Next commit
typo
  • Loading branch information
gatorsmile committed Aug 22, 2017
commit d3fbdc5d0f67a422395b76bd1035fe7fb95f7de1
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ class SessionCatalog(
val clazz = Utils.classForName(functionClassName)
(children: Seq[Expression]) => {
try {
makeFunctionExpression(name, Utils.classForName(functionClassName), children).getOrElse {
makeFunctionExpression(name, clazz, children).getOrElse {
val extraMsg =
if (!isUsingHiveMetastore) "Use sparkSession.udf.register(...) instead." else ""
throw new AnalysisException(
Expand Down