Skip to content

Commit 876f9f9

Browse files
author
Davies Liu
committed
udpate error message
1 parent 72a5ec0 commit 876f9f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/api/python/PythonRDD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private[spark] class PythonRunner(
104104
argOffsets: Array[Array[Int]])
105105
extends Logging {
106106

107-
require(funcs.length == argOffsets.length, "numArgs should have the same length as funcs")
107+
require(funcs.length == argOffsets.length, "argOffsets should have the same length as funcs")
108108

109109
// All the Python functions should have the same exec, version and envvars.
110110
private val envVars = funcs.head.funcs.head.envVars

0 commit comments

Comments
 (0)