Uroš Bojanić created SPARK-58921:
------------------------------------
Summary: Fix misspelled messageParameters argument in Spark
Connect tag validation
Key: SPARK-58921
URL: https://issues.apache.org/jira/browse/SPARK-58921
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: 4.3.0
Reporter: Uroš Bojanić
The Spark Connect Python client raises PySparkValueError with a misspelled
keyword argument 'message_paramters' instead of 'messageParameters' when
validating a null tag (python/pyspark/sql/connect/client/core.py). Since
PySparkValueError.__init__ has no **kwargs, the tag-is-None path raises
TypeError instead of the intended CANNOT_BE_NONE error. This corrects the
keyword name.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]