Hi. Does anyone know how to apply nested namespace...
# replication-troubleshooting
j
Hi. Does anyone know how to apply nested namespace / schema in S3 Data Lake as Destination + Nessie? We have nested schema like "raw" --> "system1" --> "table A" | "table B" etc. The DDL would be something like "CREATE TABLE nessie_catalog.raw.system1.tableA". Tried input raw.system1 in Airbyte S3 Data Lake destination, but resulted into create a schema (and folder) named "raw.system1".
k
Based on the available Airbyte documentation, when using the S3 Data Lake destination (with Iceberg and Nessie), Airbyte treats the "namespace" as a single string value. If you input a namespace like
raw.system1
, Airbyte will create a single schema (and corresponding S3 folder) named
raw.system1
, not a nested structure like
raw
→
system1
→
tableA
. This behavior is consistent with how Airbyte handles namespaces for most destinations: the namespace is a flat value, and dots in the namespace are not interpreted as hierarchical levels but as part of the schema name itself. Specifically, for AWS Glue (and likely for Nessie as well), Airbyte will lowercase the namespace and replace non-alphanumeric characters (such as dots) with underscores, resulting in a schema like
raw_system1
rather than a nested structure. There is no documented support for multi-level (hierarchical) namespaces or schemas in the S3 Data Lake destination via Airbyte configuration. The namespace you provide is used as-is (with some normalization), and nesting is not supported natively by Airbyte's configuration options for this connector [Output schema](https://docs.airbyte.com/integrations/destinations/s3-data-lake#output-schema). If you require a nested schema structure (e.g.,
raw
.
system1
.
tableA
), you would need to manage this outside of Airbyte, possibly by post-processing the data or by creating the desired structure directly in your Iceberg/Nessie catalog after ingestion. Summary: Airbyte does not support hierarchical/nested namespaces for S3 Data Lake destinations. The namespace is treated as a single, flat value, and dots are not interpreted as hierarchy separators [Output schema](https://docs.airbyte.com/integrations/destinations/s3-data-lake#output-schema). If you need further customization, you may need to handle it outside of Airbyte or request this feature from the Airbyte team.