From c917185b27d006dfc1e9eb41da5a7e0966170439 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Sun, 14 Apr 2024 08:02:08 -0400 Subject: [PATCH] test(dot-sql): give a unique name to "ft" relation in dot-sql test --- ibis/backends/tests/test_dot_sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ibis/backends/tests/test_dot_sql.py b/ibis/backends/tests/test_dot_sql.py index 1e4dc60fe784..0b42e68c7b5a 100644 --- a/ibis/backends/tests/test_dot_sql.py +++ b/ibis/backends/tests/test_dot_sql.py @@ -147,7 +147,7 @@ def test_table_dot_sql_with_join(backend): """, dialect="duckdb", ) - .alias("ft") + .alias("ft2") .group_by("s") # group by a column from SQL .aggregate(fancy_af=lambda t: t.new_col.mean()) .alias("awesome_t") # create a name for the aggregate @@ -157,7 +157,7 @@ def test_table_dot_sql_with_join(backend): "l"."fancy_af" AS "yas", "r"."s" AS "s" FROM "awesome_t" AS "l" - LEFT JOIN "ft" AS "r" + LEFT JOIN "ft2" AS "r" ON "l"."s" = "r"."s" """, # clickhouse needs the r.s AS s, otherwise the column name is returned as r.s dialect="duckdb",