Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
Description
When
spark.range(10).filter(n => n % 2 == 0).collectAsList()`
is run in the ammonite REPL (Spark Connect), the following error is thrown:
io.grpc.StatusRuntimeException: UNKNOWN: ammonite/repl/ReplBridge$ io.grpc.Status.asRuntimeException(Status.java:535) io.grpc.stub.ClientCalls$BlockingResponseStream.hasNext(ClientCalls.java:660) org.apache.spark.sql.connect.client.SparkResult.org$apache$spark$sql$connect$client$SparkResult$$processResponses(SparkResult.scala:62) org.apache.spark.sql.connect.client.SparkResult.length(SparkResult.scala:114) org.apache.spark.sql.connect.client.SparkResult.toArray(SparkResult.scala:131) org.apache.spark.sql.Dataset.$anonfun$collect$1(Dataset.scala:2687) org.apache.spark.sql.Dataset.withResult(Dataset.scala:3088) org.apache.spark.sql.Dataset.collect(Dataset.scala:2686) org.apache.spark.sql.Dataset.collectAsList(Dataset.scala:2700) ammonite.$sess.cmd0$.<init>(cmd0.sc:1) ammonite.$sess.cmd0$.<clinit>(cmd0.sc)