rok commented on code in PR #36496:
URL: https://github.com/apache/arrow/pull/36496#discussion_r1254141508
##########
cpp/src/arrow/extension/fixed_shape_tensor.h:
##########
@@ -62,6 +62,11 @@ class ARROW_EXPORT FixedShapeTensorType : public
ExtensionType {
std::string extension_name() const override { return
"arrow.fixed_shape_tensor"; }
+ std::string ToString() const override {
+ return "extension<" + this->extension_name() + "<type: " +
value_type_->ToString() +
+ ", " + this->Serialize() + ">>";
Review Comment:
I suppose no other type has a json string description so this wouldn't be
consistent, but might be worth a quick discussion anyway.
--
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]