Hyukjin Kwon created SPARK-61389:
------------------------------------
Summary: Raise for a bad keepalive value or port in the connection
string, and report the OS in the user agent as PySpark does, in Spark Connect
Rust
Key: SPARK-61389
URL: https://issues.apache.org/jira/browse/SPARK-61389
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: connect-rust-4.3.0
Reporter: Hyukjin Kwon
A follow-up of SPARK-61319, found in a post-merge review. A non-integer
grpc_keepalive_time_ms or grpc_keepalive_timeout_ms in the connection string is
silently ignored (int_param falls back to the default), where PySpark raises
ValueError (invalid literal for int()). An out-of-range port reports that the
port could not be cast to an integer, where PySpark reports 'Port out of range
0-65535'. The user agent sent as client_type reports os/macos on macOS, where
PySpark reports platform.uname().system.lower() (os/darwin).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]