-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Getting the following error when trying to run unit tests with model having a recursive CTE
Runtime Error
Database Error in model_example (tests/unit/model_example.sql)
WITH RECURSIVE is only allowed at the top level of the SELECT, CREATE TABLE AS SELECT, CREATE VIEW, INSERT, EXPORT DATA statements.
Within the generated test SQL, the recursive CTE is no longer at the top level which invalidates the query.
Is there a way to handle this?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested