HyukjinKwon commented on code in PR #38603:
URL: https://github.com/apache/spark/pull/38603#discussion_r1019792381
##########
python/pyspark/sql/protobuf/functions.py:
##########
@@ -121,7 +142,10 @@ def to_protobuf(data: "ColumnOrName", messageName: str,
descFilePath: str) -> Co
data : :class:`~pyspark.sql.Column` or str
the data column.
messageName: str
- the protobuf message name to look for in descriptor file.
+ the protobuf message name to look for in descriptor file. Or
+ The Protobuf class name. E.g.
<code>org.spark.examples.protobuf.ExampleEvent</code>,
Review Comment:
```suggestion
The Protobuf class name. E.g.
``org.spark.examples.protobuf.ExampleEvent``,
```
--
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]