zhengruifeng commented on code in PR #40896: URL: https://github.com/apache/spark/pull/40896#discussion_r1177334616
########## connector/connect/common/src/main/protobuf/spark/connect/expressions.proto: ########## @@ -333,6 +333,9 @@ message PythonUDF { bytes command = 3; // (Required) Python version being used in the client. string python_ver = 4; + // (Optional) Whether this PythonUDF should be executed in barrier mode. Review Comment: Since this barrier udf is only used to integrate other ML frameworks (pytorch for now, will support xgboost in the future), so I guess it can be python only. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org