-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(mssql): regen sql for upstream mssql quoting changes
- Loading branch information
Showing
3 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
16 changes: 8 additions & 8 deletions
16
ibis/backends/tests/snapshots/test_generic/test_many_subqueries/mssql/out.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
WITH t0 AS ( | ||
SELECT | ||
t5.street AS street, | ||
ROW_NUMBER() OVER (ORDER BY t5.street ASC) - 1 AS "key" | ||
ROW_NUMBER() OVER (ORDER BY t5.street ASC) - 1 AS [key] | ||
FROM data AS t5 | ||
), t1 AS ( | ||
SELECT | ||
t0."key" AS "key" | ||
t0.[key] AS [key] | ||
FROM t0 | ||
), t2 AS ( | ||
SELECT | ||
t0.street AS street, | ||
t0."key" AS "key" | ||
t0.[key] AS [key] | ||
FROM t0 | ||
JOIN t1 | ||
ON t0."key" = t1."key" | ||
ON t0.[key] = t1.[key] | ||
), t3 AS ( | ||
SELECT | ||
t2.street AS street, | ||
ROW_NUMBER() OVER (ORDER BY t2.street ASC) - 1 AS "key" | ||
ROW_NUMBER() OVER (ORDER BY t2.street ASC) - 1 AS [key] | ||
FROM t2 | ||
), t4 AS ( | ||
SELECT | ||
t3."key" AS "key" | ||
t3.[key] AS [key] | ||
FROM t3 | ||
) | ||
SELECT | ||
t3.street, | ||
t3."key" | ||
t3.[key] | ||
FROM t3 | ||
JOIN t4 | ||
ON t3."key" = t4."key" | ||
ON t3.[key] = t4.[key] |
12 changes: 6 additions & 6 deletions
12
ibis/backends/tests/snapshots/test_sql/test_cte_refs_in_topo_order/mssql/out.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
WITH t0 AS ( | ||
SELECT | ||
t4."key" AS "key" | ||
t4.[key] AS [key] | ||
FROM leaf AS t4 | ||
WHERE | ||
1 = 1 | ||
), t1 AS ( | ||
SELECT | ||
t0."key" AS "key" | ||
t0.[key] AS [key] | ||
FROM t0 | ||
), t2 AS ( | ||
SELECT | ||
t0."key" AS "key" | ||
t0.[key] AS [key] | ||
FROM t0 | ||
JOIN t1 | ||
ON t0."key" = t1."key" | ||
ON t0.[key] = t1.[key] | ||
) | ||
SELECT | ||
t2."key" | ||
t2.[key] | ||
FROM t2 | ||
JOIN t2 AS t3 | ||
ON t2."key" = t3."key" | ||
ON t2.[key] = t3.[key] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,5 @@ SELECT | |
WHERE | ||
t0.x > 2 | ||
) AS t1 | ||
) AS "InColumn(x, x)" | ||
) AS [InColumn(x, x)] | ||
FROM t AS t0 |