title: How to define nested array to ingest data and convert?
body: <p>I am using Firehose and Glue to ingest data and convert JSON to the parquet file in S3.</p>
  
  <p>I was successful to achieve it with normal JSON (not nested or array). But I am failed for a nested JSON array. What I have done: </p>
  
  <p>the JSON structure </p>
  
  <pre><code>{
      "class_id": "test0001",
      "students": [{
          "student_id": "xxxx",
          "student_name": "AAAABBBCCC",
          "student_gpa": 123
      }]
  }
  </code></pre>
  
  <p>the Glue schema</p>
  
  <ol>
  <li>class_id : string</li>
  <li>students : array <code>ARRAY&lt;STRUCT&lt;student_id:STRING,student_name:STRING,student_gpa:INT&gt;&gt;</code></li>
  </ol>
  
  <p>I receive error: </p>
  
  <pre><code>The schema is invalid. Error parsing the schema: Error: type expected at the position 0 of 'ARRAY&lt;STRUCT&lt;student_id:STRING,student_name:STRING,student_gpa:INT&gt;&gt;' but 'ARRAY' is found.
  </code></pre>
  
  <p>Any suggestion is appreciated.</p>