File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -943,9 +943,9 @@ trait ScalaReflection extends Logging {
943
943
*/
944
944
def getParameterTypeNullability (func : AnyRef ): Seq [Boolean ] = {
945
945
if (! Properties .versionString.contains(" 2.11" )) {
946
- logWarning(s " Scala ${Properties .versionString} is not supported so UDF input parameter "
947
- + s " type nullability may be inferred incorrectly . To avoid this problem, use the "
948
- + s " latest UDF interfaces instead." )
946
+ logWarning(s " Scala ${Properties .versionString} cannot get type nullability correctly via " +
947
+ " reflection, thus Spark cannot add proper input null check for UDF . To avoid this " +
948
+ " problem, use the typed UDF interfaces instead." )
949
949
}
950
950
val methods = func.getClass.getMethods.filter(m => m.getName == " apply" && ! m.isBridge)
951
951
assert(methods.length == 1 )
You can’t perform that action at this time.
0 commit comments