-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
505 changed files
with
4,600 additions
and
4,470 deletions.
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
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
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
8 changes: 4 additions & 4 deletions
8
ibis/backends/bigquery/tests/system/snapshots/test_client/test_cross_project_query/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,6 +1,6 @@ | ||
SELECT | ||
t0.title, | ||
t0.tags | ||
FROM `bigquery-public-data`.stackoverflow.posts_questions AS t0 | ||
`t0`.`title`, | ||
`t0`.`tags` | ||
FROM `bigquery-public-data`.`stackoverflow`.`posts_questions` AS `t0` | ||
WHERE | ||
strpos(t0.tags, 'ibis') > 0 | ||
strpos(`t0`.`tags`, 'ibis') > 0 |
8 changes: 4 additions & 4 deletions
8
...ackends/bigquery/tests/system/snapshots/test_client/test_multiple_project_queries/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,5 +1,5 @@ | ||
SELECT | ||
t2.title | ||
FROM `bigquery-public-data`.stackoverflow.posts_questions AS t2 | ||
INNER JOIN `nyc-tlc`.yellow.trips AS t3 | ||
ON t2.tags = t3.rate_code | ||
`t2`.`title` | ||
FROM `bigquery-public-data`.`stackoverflow`.`posts_questions` AS `t2` | ||
INNER JOIN `nyc-tlc`.`yellow`.`trips` AS `t3` | ||
ON `t2`.`tags` = `t3`.`rate_code` |
22 changes: 11 additions & 11 deletions
22
.../backends/bigquery/tests/system/snapshots/test_client/test_subquery_scalar_params/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,19 +1,19 @@ | ||
SELECT | ||
COUNT(t2.foo) AS count | ||
COUNT(`t2`.`foo`) AS `count` | ||
FROM ( | ||
SELECT | ||
t1.string_col, | ||
SUM(t1.float_col) AS foo | ||
`t1`.`string_col`, | ||
SUM(`t1`.`float_col`) AS `foo` | ||
FROM ( | ||
SELECT | ||
t0.float_col, | ||
t0.timestamp_col, | ||
t0.int_col, | ||
t0.string_col | ||
FROM `ibis-gbq`.ibis_gbq_testing.functional_alltypes AS t0 | ||
`t0`.`float_col`, | ||
`t0`.`timestamp_col`, | ||
`t0`.`int_col`, | ||
`t0`.`string_col` | ||
FROM `ibis-gbq`.`ibis_gbq_testing`.`functional_alltypes` AS `t0` | ||
WHERE | ||
t0.timestamp_col < datetime('2014-01-01T00:00:00') | ||
) AS t1 | ||
`t0`.`timestamp_col` < datetime('2014-01-01T00:00:00') | ||
) AS `t1` | ||
GROUP BY | ||
1 | ||
) AS t2 | ||
) AS `t2` |
4 changes: 2 additions & 2 deletions
4
...ends/bigquery/tests/unit/snapshots/test_compiler/test_approx/filter-approx_median/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,3 +1,3 @@ | ||
SELECT | ||
approx_quantiles(IF(t0.month > 0, t0.double_col, NULL), IF(t0.month > 0, 2, NULL))[offset(1)] AS `ApproxMedian_double_col_ Greater_month_ 0` | ||
FROM functional_alltypes AS t0 | ||
approx_quantiles(IF(`t0`.`month` > 0, `t0`.`double_col`, NULL), IF(`t0`.`month` > 0, 2, NULL))[offset(1)] AS `ApproxMedian_double_col_ Greater_month_ 0` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...nds/bigquery/tests/unit/snapshots/test_compiler/test_approx/filter-approx_nunique/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,3 +1,3 @@ | ||
SELECT | ||
APPROX_COUNT_DISTINCT(IF(t0.month > 0, t0.double_col, NULL)) AS `ApproxCountDistinct_double_col_ Greater_month_ 0` | ||
FROM functional_alltypes AS t0 | ||
APPROX_COUNT_DISTINCT(IF(`t0`.`month` > 0, `t0`.`double_col`, NULL)) AS `ApproxCountDistinct_double_col_ Greater_month_ 0` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...s/bigquery/tests/unit/snapshots/test_compiler/test_approx/no_filter-approx_median/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,3 +1,3 @@ | ||
SELECT | ||
approx_quantiles(t0.double_col, 2)[offset(1)] AS ApproxMedian_double_col | ||
FROM functional_alltypes AS t0 | ||
approx_quantiles(`t0`.`double_col`, 2)[offset(1)] AS `ApproxMedian_double_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
.../bigquery/tests/unit/snapshots/test_compiler/test_approx/no_filter-approx_nunique/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,3 +1,3 @@ | ||
SELECT | ||
APPROX_COUNT_DISTINCT(t0.double_col) AS ApproxCountDistinct_double_col | ||
FROM functional_alltypes AS t0 | ||
APPROX_COUNT_DISTINCT(`t0`.`double_col`) AS `ApproxCountDistinct_double_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_binary/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,3 +1,3 @@ | ||
SELECT | ||
CAST(t0.value AS BYTES) AS `Cast_value_ binary` | ||
FROM t AS t0 | ||
CAST(`t0`.`value` AS BYTES) AS `Cast_value_ binary` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bit/filter-bit_and/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,3 +1,3 @@ | ||
SELECT | ||
bit_and(IF(t0.bigint_col > 0, t0.int_col, NULL)) AS `BitAnd_int_col_ Greater_bigint_col_ 0` | ||
FROM functional_alltypes AS t0 | ||
bit_and(IF(`t0`.`bigint_col` > 0, `t0`.`int_col`, NULL)) AS `BitAnd_int_col_ Greater_bigint_col_ 0` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bit/filter-bit_or/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,3 +1,3 @@ | ||
SELECT | ||
bit_or(IF(t0.bigint_col > 0, t0.int_col, NULL)) AS `BitOr_int_col_ Greater_bigint_col_ 0` | ||
FROM functional_alltypes AS t0 | ||
bit_or(IF(`t0`.`bigint_col` > 0, `t0`.`int_col`, NULL)) AS `BitOr_int_col_ Greater_bigint_col_ 0` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bit/filter-bit_xor/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,3 +1,3 @@ | ||
SELECT | ||
bit_xor(IF(t0.bigint_col > 0, t0.int_col, NULL)) AS `BitXor_int_col_ Greater_bigint_col_ 0` | ||
FROM functional_alltypes AS t0 | ||
bit_xor(IF(`t0`.`bigint_col` > 0, `t0`.`int_col`, NULL)) AS `BitXor_int_col_ Greater_bigint_col_ 0` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bit/no_filter-bit_and/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,3 +1,3 @@ | ||
SELECT | ||
bit_and(t0.int_col) AS BitAnd_int_col | ||
FROM functional_alltypes AS t0 | ||
bit_and(`t0`.`int_col`) AS `BitAnd_int_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bit/no_filter-bit_or/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,3 +1,3 @@ | ||
SELECT | ||
bit_or(t0.int_col) AS BitOr_int_col | ||
FROM functional_alltypes AS t0 | ||
bit_or(`t0`.`int_col`) AS `BitOr_int_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bit/no_filter-bit_xor/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,3 +1,3 @@ | ||
SELECT | ||
bit_xor(t0.int_col) AS BitXor_int_col | ||
FROM functional_alltypes AS t0 | ||
bit_xor(`t0`.`int_col`) AS `BitXor_int_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bool_reducers/mean/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,3 +1,3 @@ | ||
SELECT | ||
AVG(CAST(t0.bool_col AS INT64)) AS Mean_bool_col | ||
FROM functional_alltypes AS t0 | ||
AVG(CAST(`t0`.`bool_col` AS INT64)) AS `Mean_bool_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bool_reducers/sum/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,3 +1,3 @@ | ||
SELECT | ||
SUM(CAST(t0.bool_col AS INT64)) AS Sum_bool_col | ||
FROM functional_alltypes AS t0 | ||
SUM(CAST(`t0`.`bool_col` AS INT64)) AS `Sum_bool_col` | ||
FROM `functional_alltypes` AS `t0` |
18 changes: 12 additions & 6 deletions
18
...ackends/bigquery/tests/unit/snapshots/test_compiler/test_bool_reducers_where_conj/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,7 +1,13 @@ | ||
SELECT | ||
SUM(IF(( | ||
t0.month > 6 | ||
) AND ( | ||
t0.month < 10 | ||
), CAST(t0.bool_col AS INT64), NULL)) AS `Sum_bool_col_ And_Greater_month_ 6_ Less_month_ 10` | ||
FROM functional_alltypes AS t0 | ||
SUM( | ||
IF( | ||
( | ||
`t0`.`month` > 6 | ||
) AND ( | ||
`t0`.`month` < 10 | ||
), | ||
CAST(`t0`.`bool_col` AS INT64), | ||
NULL | ||
) | ||
) AS `Sum_bool_col_ And_Greater_month_ 6_ Less_month_ 10` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...kends/bigquery/tests/unit/snapshots/test_compiler/test_bool_reducers_where_simple/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,3 +1,3 @@ | ||
SELECT | ||
AVG(IF(t0.month > 6, CAST(t0.bool_col AS INT64), NULL)) AS `Mean_bool_col_ Greater_month_ 6` | ||
FROM functional_alltypes AS t0 | ||
AVG(IF(`t0`.`month` > 6, CAST(`t0`.`bool_col` AS INT64), NULL)) AS `Mean_bool_col_ Greater_month_ 6` | ||
FROM `functional_alltypes` AS `t0` |
12 changes: 6 additions & 6 deletions
12
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_bucket/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,17 +1,17 @@ | ||
SELECT | ||
CASE | ||
WHEN ( | ||
0 <= t0.value | ||
0 <= `t0`.`value` | ||
) AND ( | ||
t0.value < 1 | ||
`t0`.`value` < 1 | ||
) | ||
THEN 0 | ||
WHEN ( | ||
1 <= t0.value | ||
1 <= `t0`.`value` | ||
) AND ( | ||
t0.value <= 3 | ||
`t0`.`value` <= 3 | ||
) | ||
THEN 1 | ||
ELSE CAST(NULL AS INT64) | ||
END AS tmp | ||
FROM t AS t0 | ||
END AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_cast_float_to_int/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,3 +1,3 @@ | ||
SELECT | ||
CAST(trunc(t0.double_col) AS INT64) AS `Cast_double_col_ int64` | ||
FROM functional_alltypes AS t0 | ||
CAST(trunc(`t0`.`double_col`) AS INT64) AS `Cast_double_col_ int64` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_compile_toplevel/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,3 +1,3 @@ | ||
SELECT | ||
SUM(t0.foo) AS Sum_foo | ||
FROM t0 AS t0 | ||
SUM(`t0`.`foo`) AS `Sum_foo` | ||
FROM `t0` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_cov/pop/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,3 +1,3 @@ | ||
SELECT | ||
COVAR_POP(t0.double_col, t0.double_col) AS `Covariance_double_col_ double_col` | ||
FROM functional_alltypes AS t0 | ||
COVAR_POP(`t0`.`double_col`, `t0`.`double_col`) AS `Covariance_double_col_ double_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_cov/sample/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,3 +1,3 @@ | ||
SELECT | ||
COVAR_SAMP(t0.double_col, t0.double_col) AS `Covariance_double_col_ double_col` | ||
FROM functional_alltypes AS t0 | ||
COVAR_SAMP(`t0`.`double_col`, `t0`.`double_col`) AS `Covariance_double_col_ double_col` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...backends/bigquery/tests/unit/snapshots/test_compiler/test_divide_by_zero/floordiv/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,3 +1,3 @@ | ||
SELECT | ||
CAST(FLOOR(ieee_divide(t0.double_col, 0)) AS INT64) AS `FloorDivide_double_col_ 0` | ||
FROM functional_alltypes AS t0 | ||
CAST(FLOOR(ieee_divide(`t0`.`double_col`, 0)) AS INT64) AS `FloorDivide_double_col_ 0` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
.../backends/bigquery/tests/unit/snapshots/test_compiler/test_divide_by_zero/truediv/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,3 +1,3 @@ | ||
SELECT | ||
ieee_divide(t0.double_col, 0) AS `Divide_double_col_ 0` | ||
FROM functional_alltypes AS t0 | ||
ieee_divide(`t0`.`double_col`, 0) AS `Divide_double_col_ 0` | ||
FROM `functional_alltypes` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...uery/tests/unit/snapshots/test_compiler/test_extract_temporal_from_timestamp/date/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,3 +1,3 @@ | ||
SELECT | ||
DATE(t0.ts) AS tmp | ||
FROM t AS t0 | ||
DATE(`t0`.`ts`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...uery/tests/unit/snapshots/test_compiler/test_extract_temporal_from_timestamp/time/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,3 +1,3 @@ | ||
SELECT | ||
time(t0.ts) AS tmp | ||
FROM t AS t0 | ||
time(`t0`.`ts`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
ibis/backends/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_azimuth/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,3 +1,3 @@ | ||
SELECT | ||
st_azimuth(t0.p0, t0.p1) AS tmp | ||
FROM t AS t0 | ||
st_azimuth(`t0`.`p0`, `t0`.`p1`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...kends/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/contains/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,3 +1,3 @@ | ||
SELECT | ||
st_contains(t0.geog0, t0.geog1) AS tmp | ||
FROM t AS t0 | ||
st_contains(`t0`.`geog0`, `t0`.`geog1`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...nds/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/covered_by/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,3 +1,3 @@ | ||
SELECT | ||
st_coveredby(t0.geog0, t0.geog1) AS tmp | ||
FROM t AS t0 | ||
st_coveredby(`t0`.`geog0`, `t0`.`geog1`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...ackends/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/covers/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,3 +1,3 @@ | ||
SELECT | ||
st_covers(t0.geog0, t0.geog1) AS tmp | ||
FROM t AS t0 | ||
st_covers(`t0`.`geog0`, `t0`.`geog1`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...kends/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/d_within/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,3 +1,3 @@ | ||
SELECT | ||
st_dwithin(t0.geog0, t0.geog1, 5.2) AS tmp | ||
FROM t AS t0 | ||
st_dwithin(`t0`.`geog0`, `t0`.`geog1`, 5.2) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...nds/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/difference/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,3 +1,3 @@ | ||
SELECT | ||
st_difference(t0.geog0, t0.geog1) AS tmp | ||
FROM t AS t0 | ||
st_difference(`t0`.`geog0`, `t0`.`geog1`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...kends/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/disjoint/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,3 +1,3 @@ | ||
SELECT | ||
st_disjoint(t0.geog0, t0.geog1) AS tmp | ||
FROM t AS t0 | ||
st_disjoint(`t0`.`geog0`, `t0`.`geog1`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...kends/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/distance/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,3 +1,3 @@ | ||
SELECT | ||
st_distance(t0.geog0, t0.geog1) AS tmp | ||
FROM t AS t0 | ||
st_distance(`t0`.`geog0`, `t0`.`geog1`) AS `tmp` | ||
FROM `t` AS `t0` |
4 changes: 2 additions & 2 deletions
4
...nds/bigquery/tests/unit/snapshots/test_compiler/test_geospatial_binary/geo_equals/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,3 +1,3 @@ | ||
SELECT | ||
st_equals(t0.geog0, t0.geog1) AS tmp | ||
FROM t AS t0 | ||
st_equals(`t0`.`geog0`, `t0`.`geog1`) AS `tmp` | ||
FROM `t` AS `t0` |
Oops, something went wrong.