anew commented on code in PR #60464:
URL: https://github.com/apache/spark/pull/60464#discussion_r4607456933


##########
python/pyspark/pipelines/spark_connect_graph_element_registry.py:
##########
@@ -93,7 +93,7 @@ def register_output(self, output: Output) -> None:
         else:
             raise PySparkTypeError(
                 errorClass="UNSUPPORTED_PIPELINES_DATASET_TYPE",
-                messageParameters={"output_type": type(output).__name__},
+                messageParameters={"dataset_type": type(output).__name__},

Review Comment:
   this seems wrong, since we already know this is not a dataset. I think we 
introduce a new error class UNSUPPORTED_PIPELINES_OUTPUT_TYPE for this. 



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

Reply via email to