Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Validate jinja rendered query #22851

Merged
merged 13 commits into from
Feb 21, 2023
Prev Previous commit
Next Next commit
Update templated param
geido committed Feb 16, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 0ec1c5be11a99d064d4fcdc7c97f3e374c73fed6
2 changes: 1 addition & 1 deletion tests/integration_tests/core_tests.py
Original file line number Diff line number Diff line change
@@ -763,7 +763,7 @@ def test_templated_sql_forbidden(self):

data = self.run_sql(
"""
SELECT * FROM birth_names LIMIT 1;
SELECT * FROM {{ table_name }} LIMIT 1;
""",
client_id="client_id_1",
username="gamma",