Skip to content

Hasura incorrectly generates the schema for BigQuery's array type #10714

Open
@bakyeono

Description

@bakyeono

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

Big Query
Image

GraphQL schema generated by Hasura -- it is represented as a single object instead of an array
Image

In Data tab, Hasura shows the type as string array

Image

Any possible solutions/workarounds you're aware of?

No workaround

Keywords

BigQuery, array, type, schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions