Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
Description
In `ProtobufFunctionsSuite`, there are some cases where `df.take(1).toSeq(0)` is used to get the first row in the DataFrame. This can be achieved by using the `.first()` API, which looks clearer and more concise.
Attachments
Issue Links
- links to