Skip to content

🐛 [gen-schema-view] Arrays of maps aren't supported #2325

Open
@cabljac

Description

@cabljac

this happens on 0.4.7, 0.4.9

To reproduce, use a collection/bq tables with the following schema:

{
  "fields": [
    {
      "name": "name",
      "type": "string"
    },
    {
      "name": "favorite_numbers",
      "type": "array"
    },
    {
      "name": "last_login",
      "type": "timestamp"
    },
    {
      "name": "last_location",
      "type": "geopoint"
    },
    {
      "fields": [
        {
          "name": "name",
          "type": "string",
          "description": "This is a nested name!"
        }
      ],
      "name": "friends",
      "type": "map",
      "description": "Maps don't need a description because a column is not created for a map. Instead, their fields are added as columns to the resulting dataset."
    }
  ]
}

the friends_name column is always null:

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions