dillitz commented on code in PR #48122:
URL: https://github.com/apache/spark/pull/48122#discussion_r1763503805
##########
connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/ClientE2ETestSuite.scala:
##########
@@ -1566,6 +1566,25 @@ class ClientE2ETestSuite
val result = df.select(trim(col("col"), " ").as("trimmed_col")).collect()
assert(result sameElements Array(Row("a"), Row("b"), Row("c")))
}
+
+ test("SPARK-49673: new batch size, multiple batches") {
+ val maxBatchSize =
spark.conf.get("spark.connect.grpc.arrow.maxBatchSize").dropRight(1).toInt
Review Comment:
Ah, I think there might be a misunderstanding here. The dropRight is used to
drop the "b" character from the "1269760b" String returned by the
spark.conf.get("spark.connect.grpc.arrow.maxBatchSize") call 😄
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]