rtpsw commented on code in PR #33909:
URL: https://github.com/apache/arrow/pull/33909#discussion_r1095045102
##########
cpp/src/arrow/type.h:
##########
@@ -1968,6 +1968,8 @@ class ARROW_EXPORT Schema : public
detail::Fingerprintable,
Result<std::shared_ptr<Schema>> SetField(int i,
const std::shared_ptr<Field>&
field) const;
+ Result<std::shared_ptr<Schema>> WithNames(const std::vector<std::string>&
names) const;
Review Comment:
It gives a schema with the names changed, similar to other `With*` methods.
I could add a docstring.
--
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]