Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

DOC - fixing 2 incorrect links and adding a line about arrays in json unfolding (#74610)

thackervishald24c2551d7cb
diff --git a/docs/data-modeling/json-unfolding.md b/docs/data-modeling/json-unfolding.md
index 8d29ef265d7..fa99d4c5ffc 100644
--- a/docs/data-modeling/json-unfolding.md
+++ b/docs/data-modeling/json-unfolding.md
@@ -23,16 +23,18 @@ And here are the values as seen in the table:
This unfolding allows you to filter for values found in the original JSON object.
+Metabase can also unfold nested JSON objects, but it doesn't unfold arrays. If a key contains an array, Metabase keeps that array as a single field.
+
Metabase will prefix the unfolded column names with the name of the original column that contained the JSON. You can change the column names in **Admin** > [Table metadata](metadata-editing.md), or by creating a [model](./models.md) and editing the column metadata.
## Databases that support JSON unfolding
-- [BigQuery](../databases/connections/postgresql.md): automatically enabled, applies to `STRUCT` types only.
+- [BigQuery](../databases/connections/bigquery.md): automatically enabled, applies to `STRUCT` types only.
If your data is stored in the [STRUCT data type](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#struct_type) in BigQuery, you can query the table's nested fields. This is enabled by default. However, Metabase won't unfold JSON stored in BigQuery as the `JSON` type. This is because in BigQuery, nested fields are _part of the table definition itself_, so when Metabase syncs with your BigQuery database, it'll be able to get metadata about any of your tables, including tables with nested fields. Querying nested fields, however, doesn't extend to arrays (REPEATED (STRUCT)) in BigQuery.
- [Druid (JDBC)](../databases/connections/druid.md)
-- [MongoDB](../databases/connections/mysql.md): automatically enabled for all nested fields.
+- [MongoDB](../databases/connections/mongodb.md): automatically enabled for all nested fields.
- [MySQL](../databases/connections/mysql.md)
- [PostgreSQL](../databases/connections/postgresql.md)