Phoenix500526 commented on code in PR #12254:
URL: https://github.com/apache/arrow-rs/pull/12254#discussion_r4628352724


##########
arrow-schema/src/datatype_parse.rs:
##########
@@ -103,10 +103,15 @@ impl<'a> Parser<'a> {
 
     /// Parses field inside a list. Use `Field::LIST_FIELD_DEFAULT_NAME`
     /// if no field name is specified.
-    /// E.g: `non-null Int64, field: 'foo'` or `non-null Int64`
-    ///
-    /// TODO: support metadata: `non-ull Int64, metadata: {"foo2": "value"}`
+    /// E.g: `"foo": non-null Int64`, `non-null Int64, field: 'foo'` or 
`non-null Int64`
     fn parse_list_field(&mut self, context: &str) -> ArrowResult<Field> {
+        if matches!(
+            self.tokenizer.peek(),
+            Some(Ok(Token::DoubleQuotedString(_)))
+        ) {
+            return self.parse_field();
+        }

Review Comment:
   Short comments added. 



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