diff --git a/ibis/backends/tests/test_client.py b/ibis/backends/tests/test_client.py index 59172fb4badd7..7c45039411fe7 100644 --- a/ibis/backends/tests/test_client.py +++ b/ibis/backends/tests/test_client.py @@ -1764,7 +1764,7 @@ def test_cross_database_join(con_create_database, monkeypatch): ) def test_insert_into_table_missing_columns(con): table_name = gen_name("table") - ct_sql = f"CREATE TABLE {table_name} (a INT DEFAULT 1, b VARCHAR(10));" + ct_sql = f'CREATE TABLE "{table_name}" ("a" INT DEFAULT 1, "b" VARCHAR(10));' sg_expr = sg.parse_one(ct_sql, read="duckdb") con.raw_sql(sg_expr.sql(dialect=con.dialect)) con.insert(table_name, [{"b": "hello"}])