Skip to content

Commit 4f42dd4

Browse files
Maciej OczkoCortex Code
authored andcommitted
fix: update Jinja for-loop test to expect nested MultipleResults format
The for-loop renders to 3 separate SQL statements, which correctly produces nested result sets consistent with all other multi-statement output in the CLI. .... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code) Co-Authored-By: Cortex Code <noreply@snowflake.com>
1 parent 20808c0 commit 4f42dd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests_integration/sql/test_sql_templating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ def test_sql_jinja_for_loop_with_semicolons(runner, snowflake_session):
134134
)
135135

136136
assert result.exit_code == 0
137-
assert result.json == [{"0": 0}, {"1": 1}, {"2": 2}]
137+
assert result.json == [[{"0": 0}], [{"1": 1}], [{"2": 2}]]

0 commit comments

Comments
 (0)