-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sql): remove constants in order_by
- Loading branch information
Showing
20 changed files
with
139 additions
and
1 deletion.
There are no files selected for viewing
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
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/bigquery/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
`t0`.`a`, | ||
9 AS `i`, | ||
'foo' AS `s` | ||
FROM `test` AS `t0` | ||
ORDER BY | ||
`t0`.`a` ASC NULLS LAST |
7 changes: 7 additions & 0 deletions
7
.../backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/clickhouse/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a" AS "a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
.../backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/databricks/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
`t0`.`a`, | ||
9 AS `i`, | ||
'foo' AS `s` | ||
FROM `test` AS `t0` | ||
ORDER BY | ||
`t0`.`a` ASC NULLS LAST |
7 changes: 7 additions & 0 deletions
7
.../backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/datafusion/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/druid/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/duckdb/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/exasol/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/flink/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
`t0`.`a`, | ||
9 AS `i`, | ||
'foo' AS `s` | ||
FROM `test` AS `t0` | ||
ORDER BY | ||
`t0`.`a` ASC NULLS LAST |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/impala/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
`t0`.`a`, | ||
9 AS `i`, | ||
'foo' AS `s` | ||
FROM `test` AS `t0` | ||
ORDER BY | ||
`t0`.`a` ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
[t0].[a], | ||
9 AS [i], | ||
'foo' AS [s] | ||
FROM [test] AS [t0] | ||
ORDER BY | ||
CASE WHEN [t0].[a] IS NULL THEN 1 ELSE 0 END, [t0].[a] ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/mysql/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
`t0`.`a`, | ||
9 AS `i`, | ||
'foo' AS `s` | ||
FROM `test` AS `t0` | ||
ORDER BY | ||
CASE WHEN `t0`.`a` IS NULL THEN 1 ELSE 0 END, `t0`.`a` ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/oracle/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/postgres/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/pyspark/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
`t0`.`a`, | ||
9 AS `i`, | ||
'foo' AS `s` | ||
FROM `test` AS `t0` | ||
ORDER BY | ||
`t0`.`a` ASC NULLS LAST |
7 changes: 7 additions & 0 deletions
7
.../backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/risingwave/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/snowflake/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/sqlite/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC NULLS LAST |
7 changes: 7 additions & 0 deletions
7
ibis/backends/tests/snapshots/test_sql/test_order_by_no_deference_literals/trino/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT | ||
"t0"."a", | ||
9 AS "i", | ||
'foo' AS "s" | ||
FROM "test" AS "t0" | ||
ORDER BY | ||
"t0"."a" ASC |
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