Skip to content

Commit

Permalink
fix render test
Browse files Browse the repository at this point in the history
  • Loading branch information
ea-rus committed Sep 20, 2024
1 parent ba4613a commit 39a8d45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_render/test_sqlalchemyrender.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def parse_sql2(sql, dialect='mindsdb'):
or 'current_user()' in sql # replaced to CURRENT_USER
or 'user()' in sql # replaced to USER
or 'not exists' in sql # replaced to not(exits(
or "WHEN R.DELETE_RULE = 'CASCADE'" in sql # wrapped in parens by sqlalchemy
):

# sqlalchemy could add own aliases for constant
Expand Down

0 comments on commit 39a8d45

Please sign in to comment.