dbt-sqlserver icon indicating copy to clipboard operation
dbt-sqlserver copied to clipboard

allow test defs that have CTEs (including those in dbt-core)

Open dataders opened this issue 4 years ago • 0 comments

given the recent refactor of test in https://github.com/dbt-labs/dbt-core/pull/3261/ for v0.20.0, nested CTE definitions happened. For dbt-sqlserver users, this broke even ootb tests like accepted_values.

rather than having nested CTEs (unsupported in TSQL), #137 proposes a solution of using temp tables to for the error results, then select from the temp table result.

dataders avatar Oct 14 '21 18:10 dataders