yongkyunlee opened a new issue, #8045:
URL: https://github.com/apache/arrow-rs/issues/8045

   **Describe the bug**
   
   There is a bug in `arrow-avro`'s avro to arrow type conversion with type 
reuse.
   
   **To Reproduce**
   
   When you try to run `make_data_type` from the following avro schema with 
named type reuse, the code panics.
   
   ```json
   {
     "type": "record",
     "name": "Sample",
     "namespace": "test",
     "fields": [
       {
         "name": "key",
         "type": "string"
       },
       {
         "name": "nested",
         "type": {
           "type": "record",
           "name": "Nested",
           "fields": [
             {
               "name": "nested_int",
               "type": "int"
             }
           ]
         }
       },
       {
         "name": "nestedAgain",
         "type": "Nested"
       },
       {
         "name": "nestedArray",
         "type": {
           "type": "array",
           "items": "Nested"
         }
       },
       {
         "name": "nestedMap",
         "type": {
           "type": "map",
           "values": "Nested"
         }
       }
     ]
   }
   ```
   


-- 
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: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to