Cerdore commented on PR #39888:
URL: https://github.com/apache/arrow/pull/39888#issuecomment-1921759196

   MapType::ToString() don't show the metadata currently. It use 
type().ToString() and field.name().
   
   I didn't change here.
   ```
     const auto print_field_name = [](std::ostream& os, const Field& field,
                                      const char* std_name) {
       if (field.name() != std_name) {
         os << " ('" << field.name() << "')";
       }
     };
     const auto print_field = [&](std::ostream& os, const Field& field,
                                  const char* std_name) {
       os << field.type()->ToString(show_metadata);
       print_field_name(os, field, std_name);
     };
   ```


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