Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cabljac opened this issue Mar 10, 2025 · 0 comments
Open

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

cabljac opened this issue Mar 10, 2025 · 0 comments
Assignees
Labels
type: bug Something isn't working

Comments

@cabljac
Copy link
Contributor

cabljac commented Mar 10, 2025

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
@cabljac cabljac added the type: bug Something isn't working label Mar 10, 2025
@cabljac cabljac self-assigned this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant