Skip to content

Commit 1ff99dd

Browse files
committed
skip failing test while bug is fixed in core
1 parent 1fc4ccb commit 1ff99dd

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tests/fast/test_replacement_scan.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,15 @@ def test_cte_with_joins(self, duckdb_cursor):
288288
WHERE a < 3
289289
)
290290
SELECT * FROM (
291-
SELECT
292-
cte1.*,
291+
SELECT
292+
cte1.*,
293293
cte2.a AS cte2_a,
294294
subquery.a AS cte3_a
295295
FROM cte1
296296
JOIN cte2 ON cte1.a = cte2.a
297297
JOIN (
298-
SELECT
299-
df.*,
298+
SELECT
299+
df.*,
300300
cte3.a AS cte3_a
301301
FROM df
302302
JOIN cte3 ON df.a = cte3.a
@@ -330,6 +330,7 @@ def test_same_name_cte(self, duckdb_cursor):
330330
res = rel.fetchall()
331331
assert res == [(2,), (3,), (4,)]
332332

333+
@pytest.mark.xfail(reason="Bug in DuckDB core (MRE at #19154)")
333334
def test_use_with_view(self, duckdb_cursor):
334335
rel = create_relation(duckdb_cursor, "select * from df")
335336
rel.create_view('v1')
@@ -417,8 +418,8 @@ def test_cte_at_different_levels(self, duckdb_cursor):
417418
WITH cte1 AS (
418419
SELECT * FROM df
419420
)
420-
SELECT
421-
cte1.*,
421+
SELECT
422+
cte1.*,
422423
cte2.a AS cte2_a,
423424
subquery.a AS cte3_a
424425
FROM cte1
@@ -434,8 +435,8 @@ def test_cte_at_different_levels(self, duckdb_cursor):
434435
SELECT * FROM df
435436
WHERE a < 3
436437
)
437-
SELECT
438-
df.*,
438+
SELECT
439+
df.*,
439440
cte3.a AS cte3_a
440441
FROM (
441442
SELECT * FROM df

0 commit comments

Comments
 (0)