ephraimbuddy commented on code in PR #54505:
URL: https://github.com/apache/airflow/pull/54505#discussion_r2429829101


##########
providers/apache/spark/src/airflow/providers/apache/spark/hooks/spark_submit.py:
##########
@@ -279,14 +279,14 @@ def _resolve_connection(self) -> dict[str, Any]:
             if not self.spark_binary:
                 self.spark_binary = extra.get("spark-binary", 
DEFAULT_SPARK_BINARY)
                 if self.spark_binary is not None and self.spark_binary not in 
ALLOWED_SPARK_BINARIES:
-                    raise RuntimeError(
+                    raise ValueError(

Review Comment:
   Done here: https://github.com/apache/airflow/pull/56631



-- 
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]

Reply via email to