Based on the knowledge sources, the expected behavior in Airbyte is that when you set a custom namespace format for the Snowflake destination, the data should be written to the schema specified by the custom namespace, not the default schema defined in the destination settings. However, there are known issues where the custom namespace is ignored and the default schema is used instead. This issue has been reported by users, for example, when syncing to Snowflake with a custom namespace, the connector sometimes looks for stages or writes data in the default (e.g., public) schema rather than the custom one specified. This results in errors such as "Stage 'AIRBYTE.PUBLIC.<stage name>' does not exist or not authorized" even though the custom namespace (e.g., S3) was set and the stage was created there. This indicates that the connector is not correctly honoring the custom namespace setting during the sync process. This problem has been documented in GitHub issues and forum posts, and appears to be a bug in the connector logic rather than a configuration error by the user [Snowflake destination sync fails with custom namespace](
https://github.com/airbytehq/airbyte/issues/26373).
How to resolve: - There is currently no documented workaround or fix in the official Airbyte documentation or forums for this specific issue. The problem has been acknowledged by the Airbyte team and is tracked in their issue tracker, but there is no indication that it has been resolved in recent versions. - If you are experiencing this issue, you should: 1. Ensure you are using the latest version of the Snowflake destination connector, as bugs may be fixed in newer releases. 2. If the issue persists, follow or comment on the relevant GitHub issue to indicate that it is still affecting you and to track any updates from the Airbyte team. 3. As a temporary workaround, you may need to use the default schema and differentiate your data using stream prefixes, but this is not ideal if you require strict schema separation.
Summary: The knowledge sources confirm that the custom namespace feature for Snowflake destinations is not always honored due to a connector bug. There is no official fix or reliable workaround documented at this time, so monitoring the relevant GitHub issue and keeping your connector up to date is recommended [Snowflake destination sync fails with custom namespace](
https://github.com/airbytehq/airbyte/issues/26373). If you need strict schema separation and this feature is critical, you may want to consider reaching out to Airbyte support or contributing to the open issue to help prioritize a fix.