Skip to content

v0.4.4

Choose a tag to compare

@Yassimba Yassimba released this 25 Mar 10:24
· 5 commits to main since this release

fix(snowflake): skip pg_depend query for non-postgres backends

adapter.type() returns 'depp' during Python materialization rendering because find_funcs_in_stack misses the Jinja render context. This caused the pg_depend query and Postgres-specific DDL (indexes, constraints) to fire on Snowflake, failing all Python table models.

Add db_type() as an @available method that always returns the real underlying database type, bypassing the stack inspection heuristic.