You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sql/core/src/main/scala/org/apache/spark/sql/execution/python/streaming/TransformWithStateInPySparkStateServer.scala
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -208,14 +208,7 @@ class TransformWithStateInPySparkStateServer(
208
208
privatedefparseProtoMessage():StateRequest= {
209
209
valmessageLen= inputStream.readInt()
210
210
valmessageBytes=newArray[Byte](messageLen)
211
-
valreadBytes= inputStream.read(messageBytes)
212
-
// inputStream.readFully(messageBytes)
213
-
// val readBytes = messageLen
214
-
if (readBytes != messageLen) {
215
-
thrownewException(s"TESTING: Failed to read message bytes: expected $messageLen bytes, "+
0 commit comments