grundprinzip commented on code in PR #40447: URL: https://github.com/apache/spark/pull/40447#discussion_r1142972792
########## connector/connect/server/src/main/scala/org/apache/spark/sql/connect/config/Connect.scala: ########## @@ -47,6 +47,16 @@ object Connect { .bytesConf(ByteUnit.MiB) .createWithDefaultString("4m") + val CONNECT_GRPC_MAX_INBOUND_MESSAGE_SIZE = + ConfigBuilder("spark.connect.grpc.maxInboundMessageSize") + .doc(""" + |Sets the maximum inbound message size for the gRPC requests. Review Comment: the unit is in bytes ########## connector/connect/server/src/main/scala/org/apache/spark/sql/connect/config/Connect.scala: ########## @@ -47,6 +47,16 @@ object Connect { .bytesConf(ByteUnit.MiB) .createWithDefaultString("4m") + val CONNECT_GRPC_MAX_INBOUND_MESSAGE_SIZE = + ConfigBuilder("spark.connect.grpc.maxInboundMessageSize") + .doc(""" + |Sets the maximum inbound message size for the gRPC requests. + |Requests with a larger payload will fail. Review Comment: Fixed. ########## connector/connect/server/src/main/scala/org/apache/spark/sql/connect/config/Connect.scala: ########## @@ -47,6 +47,16 @@ object Connect { .bytesConf(ByteUnit.MiB) .createWithDefaultString("4m") + val CONNECT_GRPC_MAX_INBOUND_MESSAGE_SIZE = + ConfigBuilder("spark.connect.grpc.maxInboundMessageSize") + .doc(""" + |Sets the maximum inbound message size for the gRPC requests. + |Requests with a larger payload will fail. + |"""") Review Comment: fixed -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org