AlenkaF commented on code in PR #36496:
URL: https://github.com/apache/arrow/pull/36496#discussion_r1254200755


##########
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 went with the easiest option but am open to suggestions =)
   
   Will add a test to `fixed_shape_tensor_test.cc` 👍 



-- 
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]

Reply via email to