Where can I specify Airbyte to flatten json column...
# ask-ai
l
Where can I specify Airbyte to flatten json column instead of preserving them? I'm extracting data from MongoDB to BigQuery.
k
Based on the knowledge sources provided, I can see information about flattening/normalization options, but the specific configuration for MongoDB to BigQuery is not explicitly detailed in these documents. However, I can share what the knowledge sources indicate about flattening in Airbyte: ## General Flattening Capabilities For file-based destinations like S3 and GCS, Airbyte offers root level normalization (flattening) options for CSV output formats. When enabled, this expands root level fields instead of keeping all data in a single JSON blob column like
_airbyte_data
. You can see examples of this in the [S3 destination documentation](https://docs.airbyte.com/integrations/destinations/s3#csv) and [GCS destination documentation](https://docs.airbyte.com/integrations/destinations/gcs#csv). ## Future Enhancement for Schemaless Sources According to the [schemaless sources and destinations documentation](https://docs.airbyte.com/platform/understanding-airbyte/schemaless-sources-and-destinations#future-enhancements), Airbyte is planning to offer an "unwrapping" feature: > "MongoDB and file storage systems also don't require a schema at the destination. For this reason, if you are syncing data from a schemaless source to a schemaless destination and chose the "schemaless" schema option, Airbyte will offer the ability to "unwrap" the data at the destination so that it is not nested under the "data" key." ## Limitation I'm sorry, but the knowledge sources do not contain specific information about where to configure flattening options for a MongoDB to BigQuery connection. The documents primarily cover file-based destinations (S3, GCS, R2) and mention future enhancements for schemaless sources like MongoDB, but don't provide the current configuration steps for your specific use case. For MongoDB to BigQuery specifically, you may need to check the BigQuery destination connector documentation or the connection configuration settings in your Airbyte instance.