Open
Description
Version Information
Server Version: v2.44.0
Environment
Self-hosted
What is the current behaviour?
Hasura incorrectly generates the schema for BigQuery's array type. When a field is of an array type, it is represented as a single object instead of an array. However, the actual type is an array. When query is executed, the API delivers data as array.
What is the expected behaviour?
Hasura should generate the schema for BigQuery's array type as array.
Screenshots or Screencast
GraphQL schema generated by Hasura -- it is represented as a single object instead of an array
In Data tab, Hasura shows the type as string array
Any possible solutions/workarounds you're aware of?
No workaround
Keywords
BigQuery, array, type, schema