title: Error while querying Glue Catalog table using Athena
body: <p>I have a table in glue catalog which is created by glue crawler after parsing json files in s3. Now when I am querying this table using Athena, I am getting below error. Few things about this situation - </p>
  
  <p>JSON files are in S3
  Glue crawler created tables in glue catalog using json serder</p>
  
  <p>table contains nested datatypes like array and struct
  I am getting same error while querying other regular fields (excluding nested ones)
  I am able to query same glue catalog table using Hive in EMR. Tried with and without nested datatypes and it works fine.</p>
  
  <blockquote>
    <p>Amazon Athena experienced a transient error while executing this
    query. Waiting a couple of minutes and retrying the query may solve
    the problem. If you continue to see the issue, please contact customer
    support for further assistance. We apologize for the inconvenience.
    You will not be charged for this query.</p>
  </blockquote>