bkietz commented on code in PR #36915:
URL: https://github.com/apache/arrow/pull/36915#discussion_r1283282577


##########
cpp/src/arrow/type_fwd.h:
##########
@@ -640,6 +654,18 @@ std::shared_ptr<Schema> schema(
     std::vector<std::shared_ptr<Field>> fields, Endianness endianness,
     std::shared_ptr<const KeyValueMetadata> metadata = NULLPTR);
 
+/// \brief Create a Schema instance
+///
+/// \param fields the schema's fields in the form of initializer_list
+/// \param endianness the endianness of the data
+/// \param metadata any custom key-value metadata, default null
+/// \return schema shared_ptr to Schema
+ARROW_EXPORT
+std::shared_ptr<Schema> schema(
+    const std::initializer_list<std::pair<std::string, 
std::shared_ptr<DataType>>>&

Review Comment:
   One more



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