Reranko05 commented on code in PR #50874:
URL: https://github.com/apache/arrow/pull/50874#discussion_r3843680227


##########
cpp/src/arrow/extension/tensor_extension_array_test.cc:
##########
@@ -212,7 +212,7 @@ TEST_F(TestFixedShapeTensorType, 
MetadataSerializationRoundtrip) {
   CheckDeserializationRaises(ext_type_, storage_type, 
R"({"dim_names":["x","y"]})",
                              "Invalid serialized JSON data");
   CheckDeserializationRaises(ext_type_, storage_type, R"({"shape":(3,4)})",
-                             "Invalid serialized JSON data");
+                             "shape must be an array, got unknown");

Review Comment:
   Malformed JSON now returns `Invalid serialized JSON data`. Updated the test 
accordingly



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