Kimahriman commented on code in PR #49880:
URL: https://github.com/apache/spark/pull/49880#discussion_r1956015899
##########
python/pyspark/sql/connect/client/core.py:
##########
@@ -125,6 +125,7 @@ class ChannelBuilder:
PARAM_USER_ID = "user_id"
PARAM_USER_AGENT = "user_agent"
PARAM_SESSION_ID = "session_id"
+ CONNECT_LOCAL_AUTH_TOKEN_PARAM_NAME = "local_token"
Review Comment:
It's unfortunate that the grpc client tries to force you to use TLS if you
want to use call credentials when there's so many workarounds like simply using
a different header. Though in this case you could theoretically use
`local_channel_credentials` at least on the Python side to use the built-in
token mechanism
--
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]