Soo Peng Kiat
08/24/2025, 6:02 PMkapa.ai
08/24/2025, 6:02 PMsql SELECT "table", diststyle FROM svv_table_info WHERE "schema" = 'your_schema'; - This will show you the distribution style for each table in your schema. 2. Align Distribution Styles: - If you find that the source and target tables have different distribution styles, you need to alter one of them to match the other. For example, to change a table's distribution style to EVEN: sql ALTER TABLE your_table ALTER DISTSTYLE EVEN; - For DISTKEY, you would specify the key column: sql ALTER TABLE your_table ALTER DISTKEY your_column; 3. Airbyte Table Creation: - Airbyte creates tables in Redshift during syncs. If you have manually created tables or altered them outside of Airbyte, ensure their distribution style matches what Airbyte expects or configures. - If you need to customize table creation, you may need to adjust your workflow to ensure distribution styles are consistent. 4. Reference to Similar Issues: - A related issue was reported where a sync failed due to a sortkey column being dropped, which was resolved by altering the table's sortkey ([see forum post](https://discuss.airbyte.io/t/3219)). While not exactly the same as your distribution style issue, it highlights the importance of table properties in Redshift syncs. Summary: To resolve your error, ensure that both your source and target tables in Redshift have the same distribution style. Use the SQL above to check and, if necessary, alter the distribution style so they match. If Airbyte is managing table creation, review your sync settings and any manual changes to table properties. If you need more specific guidance on how Airbyte sets distribution styles or how to configure this in Airbyte, the knowledge sources do not provide explicit details. For advanced customization, you may need to consult the [Redshift documentation](https://docs.aws.amazon.com/redshift/latest/dg/c_choosing_dist_sort.html) or Airbyte's advanced destination settings. If you continue to face issues, please provide more details about your table schemas and how they are created or managed in Redshift.