Skip to content

Commit 17e490f

Browse files
use latest sqlglot
1 parent 9c8e3be commit 17e490f

File tree

263 files changed

+0
-4954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+0
-4954
lines changed
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`float64_col`,
4-
`int64_col`
5-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
6-
), `bfcte_1` AS (
7-
SELECT
8-
CORR(`int64_col`, `float64_col`) AS `bfcol_2`
9-
FROM `bfcte_0`
10-
)
111
SELECT
122
`bfcol_2` AS `corr_col`
133
FROM `bfcte_1`
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`float64_col`,
4-
`int64_col`
5-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
6-
), `bfcte_1` AS (
7-
SELECT
8-
COVAR_SAMP(`int64_col`, `float64_col`) AS `bfcol_2`
9-
FROM `bfcte_0`
10-
)
111
SELECT
122
`bfcol_2` AS `cov_col`
133
FROM `bfcte_1`
Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`bool_col`,
4-
`bytes_col`,
5-
`date_col`,
6-
`datetime_col`,
7-
`duration_col`,
8-
`float64_col`,
9-
`geography_col`,
10-
`int64_col`,
11-
`int64_too`,
12-
`numeric_col`,
13-
`rowindex`,
14-
`rowindex_2`,
15-
`string_col`,
16-
`time_col`,
17-
`timestamp_col`
18-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
19-
), `bfcte_1` AS (
20-
SELECT
21-
*,
22-
ROW_NUMBER() OVER () AS `bfcol_32`
23-
FROM `bfcte_0`
24-
)
251
SELECT
262
`bfcol_32` AS `row_number`
273
FROM `bfcte_1`
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`int64_col`
4-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
5-
), `bfcte_1` AS (
6-
SELECT
7-
*,
8-
ROW_NUMBER() OVER (ORDER BY `int64_col` ASC NULLS LAST) AS `bfcol_1`
9-
FROM `bfcte_0`
10-
)
111
SELECT
122
`bfcol_1` AS `row_number`
133
FROM `bfcte_1`
Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`bool_col`,
4-
`bytes_col`,
5-
`date_col`,
6-
`datetime_col`,
7-
`duration_col`,
8-
`float64_col`,
9-
`geography_col`,
10-
`int64_col`,
11-
`int64_too`,
12-
`numeric_col`,
13-
`rowindex`,
14-
`rowindex_2`,
15-
`string_col`,
16-
`time_col`,
17-
`timestamp_col`
18-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
19-
), `bfcte_1` AS (
20-
SELECT
21-
COUNT(1) AS `bfcol_32`
22-
FROM `bfcte_0`
23-
)
241
SELECT
252
`bfcol_32` AS `size`
263
FROM `bfcte_1`
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`int64_col`
4-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
5-
), `bfcte_1` AS (
6-
SELECT
7-
ARRAY_AGG(`int64_col` IGNORE NULLS ORDER BY `int64_col` IS NULL ASC, `int64_col` ASC) AS `bfcol_1`
8-
FROM `bfcte_0`
9-
)
101
SELECT
112
`bfcol_1` AS `int64_col`
123
FROM `bfcte_1`
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`string_col`
4-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
5-
), `bfcte_1` AS (
6-
SELECT
7-
COALESCE(
8-
STRING_AGG(`string_col`, ','
9-
ORDER BY
10-
`string_col` IS NULL ASC,
11-
`string_col` ASC),
12-
''
13-
) AS `bfcol_1`
14-
FROM `bfcte_0`
15-
)
161
SELECT
172
`bfcol_1` AS `string_col`
183
FROM `bfcte_1`
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`bool_col`
4-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
5-
), `bfcte_1` AS (
6-
SELECT
7-
COALESCE(LOGICAL_AND(`bool_col`), TRUE) AS `bfcol_1`
8-
FROM `bfcte_0`
9-
)
101
SELECT
112
`bfcol_1` AS `bool_col`
123
FROM `bfcte_1`
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`bool_col`
4-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
5-
), `bfcte_1` AS (
6-
SELECT
7-
*,
8-
COALESCE(LOGICAL_AND(`bool_col`) OVER (), TRUE) AS `bfcol_1`
9-
FROM `bfcte_0`
10-
)
111
SELECT
122
`bfcol_1` AS `agg_bool`
133
FROM `bfcte_1`
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
WITH `bfcte_0` AS (
2-
SELECT
3-
`bool_col`,
4-
`string_col`
5-
FROM `bigframes-dev`.`sqlglot_test`.`scalar_types`
6-
), `bfcte_1` AS (
7-
SELECT
8-
*,
9-
COALESCE(LOGICAL_AND(`bool_col`) OVER (PARTITION BY `string_col`), TRUE) AS `bfcol_2`
10-
FROM `bfcte_0`
11-
)
121
SELECT
132
`bfcol_2` AS `agg_bool`
143
FROM `bfcte_1`

0 commit comments

Comments
 (0)