nija-at commented on code in PR #41138:
URL: https://github.com/apache/spark/pull/41138#discussion_r1192190526
##########
python/pyspark/sql/connect/client.py:
##########
@@ -299,7 +300,11 @@ def userAgent(self) -> str:
raise SparkConnectException(
f"'user_agent' parameter should not exceed 2048 characters,
found {len} characters."
)
- return user_agent
+ return " ".join([
+ user_agent,
Review Comment:
Don't think it's wise to depend on the order of fields.
--
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]