pitrou commented on code in PR #35794:
URL: https://github.com/apache/arrow/pull/35794#discussion_r1210619100
##########
cpp/src/arrow/datum.h:
##########
@@ -220,11 +284,13 @@ struct ARROW_EXPORT Datum {
/// \return empty if not arraylike
ArrayVector chunks() const;
+ /// \brief True if the two data are equal
bool Equals(const Datum& other) const;
bool operator==(const Datum& other) const { return Equals(other); }
bool operator!=(const Datum& other) const { return !Equals(other); }
+ /// \brief Print the kind of datum stored
Review Comment:
```suggestion
/// \brief Return a string representation of the kind of datum stored.
```
--
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]