From eaecb158f5742974c905640b884e22ccf1f62f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Fri, 26 Apr 2024 23:40:05 +0200 Subject: [PATCH] chore(bigquery): update snapshots --- .../bigquery/out.sql | 20 +++++++++++++------ .../test_sql/test_isin_bug/bigquery/out.sql | 12 +++++++---- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/ibis/backends/tests/snapshots/test_sql/test_cte_refs_in_topo_order/bigquery/out.sql b/ibis/backends/tests/snapshots/test_sql/test_cte_refs_in_topo_order/bigquery/out.sql index 8d13c9ddda1b..d548789ab5ca 100644 --- a/ibis/backends/tests/snapshots/test_sql/test_cte_refs_in_topo_order/bigquery/out.sql +++ b/ibis/backends/tests/snapshots/test_sql/test_cte_refs_in_topo_order/bigquery/out.sql @@ -8,13 +8,21 @@ WITH `t1` AS ( SELECT `t3`.`key` FROM `t1` AS `t3` -INNER JOIN `t1` AS `t4` - ON `t3`.`key` = `t4`.`key` +INNER JOIN ( + SELECT + `t2`.`key` + FROM `t1` AS `t2` +) AS `t5` + ON `t3`.`key` = `t5`.`key` INNER JOIN ( SELECT `t3`.`key` FROM `t1` AS `t3` - INNER JOIN `t1` AS `t4` - ON `t3`.`key` = `t4`.`key` -) AS `t6` - ON `t3`.`key` = `t6`.`key` \ No newline at end of file + INNER JOIN ( + SELECT + `t2`.`key` + FROM `t1` AS `t2` + ) AS `t5` + ON `t3`.`key` = `t5`.`key` +) AS `t7` + ON `t3`.`key` = `t7`.`key` \ No newline at end of file diff --git a/ibis/backends/tests/snapshots/test_sql/test_isin_bug/bigquery/out.sql b/ibis/backends/tests/snapshots/test_sql/test_isin_bug/bigquery/out.sql index ab4017d56b0f..092b0209a65b 100644 --- a/ibis/backends/tests/snapshots/test_sql/test_isin_bug/bigquery/out.sql +++ b/ibis/backends/tests/snapshots/test_sql/test_isin_bug/bigquery/out.sql @@ -1,9 +1,13 @@ SELECT `t0`.`x` IN ( SELECT - `t0`.`x` - FROM `t` AS `t0` - WHERE - `t0`.`x` > 2 + `t1`.`x` + FROM ( + SELECT + `t0`.`x` + FROM `t` AS `t0` + WHERE + `t0`.`x` > 2 + ) AS `t1` ) AS `InSubquery_x` FROM `t` AS `t0` \ No newline at end of file