Skip to content

Commit

Permalink
fix(data-warehouse): Disable table nesting for postgres (#21936)
Browse files Browse the repository at this point in the history
Disable table nesting for postgres
  • Loading branch information
Gilbert09 committed Apr 29, 2024
1 parent edcead5 commit d839a75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions posthog/temporal/data_imports/pipelines/postgres/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
engine_from_credentials,
get_primary_key,
SqlDatabaseTableConfiguration,
SqlTableResourceConfiguration,
)


Expand All @@ -31,7 +30,7 @@ def postgres_source(
return db_source


@dlt.source
@dlt.source(max_table_nesting=0)
def sql_database(
credentials: Union[ConnectionStringCredentials, Engine, str] = dlt.secrets.value,
schema: Optional[str] = dlt.config.value,
Expand Down

0 comments on commit d839a75

Please sign in to comment.