Hasan Özçiftci
10/02/2025, 12:34 PMkapa.ai
10/02/2025, 12:34 PM.csv.gz (GZIP-compressed CSV) and MIME type text/csv; charset=utf-8, follow these steps: 1. Set Up the GCS Source Connector: - Go to your Airbyte dashboard. - Click Sources and then + New source. - Select Google Cloud Storage (GCS) from the Source type dropdown. - Enter a name for your connector. - Choose your authentication method: - Service Account Information: Paste your GCS service account JSON key. - Google OAuth: Sign in with Google if you prefer OAuth authentication. - Enter your GCS bucket name. 2. Add a Stream: - Give a Name to the stream. - In the Format box, select CSV from the dropdown menu. - Click the Optional fields toggle to configure additional CSV options if needed (e.g., delimiter, encoding). - In the Globs field, enter a pattern to match your .csv.gz files, such as **/*.csv.gz. This will include all GZIP-compressed CSV files in your bucket or subfolders. - (Optional) If you want to enforce a specific schema, provide it in the Input schema field. Otherwise, Airbyte will infer the schema automatically. 3. Configure Additional Options: - (Optional) Set a Start Date to only replicate files modified after a certain date. - Click Set up source and wait for the tests to complete. Notes: - The GCS source connector supports CSV files, and you can use glob patterns to match .csv.gz files specifically. - The connector will handle GZIP-compressed files as long as the format is set to CSV and the files have the .csv.gz extension. - For encoding, Airbyte’s CSV reader supports UTF-8 by default, which matches your charset=utf-8 requirement. References: - [GCS Source Setup Guide](https://docs.airbyte.com/integrations/sources/gcs#for-airbyte-open-source) - [Supported Streams and File Formats](https://docs.airbyte.com/integrations/sources/gcs#supported-streams) - [Path Patterns for File Selection](https://docs.airbyte.com/integrations/sources/gcs#path-patterns) If you need to specify additional CSV reader options (such as delimiter or encoding), use the Optional fields in the Format section during stream setup.Hasan Özçiftci
10/02/2025, 12:36 PM