@@ -258,7 +258,6 @@ def test_array_discovery(backend):
258
258
reason = "BigQuery doesn't support casting array<T> to array<U>" ,
259
259
raises = GoogleBadRequest ,
260
260
)
261
- @pytest .mark .notimpl (["datafusion" ], raises = com .OperationNotDefinedError )
262
261
def test_unnest_simple (backend ):
263
262
array_types = backend .array_types
264
263
expected = (
@@ -274,7 +273,6 @@ def test_unnest_simple(backend):
274
273
275
274
276
275
@builtin_array
277
- @pytest .mark .notimpl (["datafusion" ], raises = com .OperationNotDefinedError )
278
276
def test_unnest_complex (backend ):
279
277
array_types = backend .array_types
280
278
df = array_types .execute ()
@@ -303,7 +301,12 @@ def test_unnest_complex(backend):
303
301
304
302
305
303
@builtin_array
306
- @pytest .mark .notimpl (["datafusion" , "flink" ], raises = com .OperationNotDefinedError )
304
+ @pytest .mark .notimpl (["flink" ], raises = com .OperationNotDefinedError )
305
+ @pytest .mark .notyet (
306
+ ["datafusion" ],
307
+ raises = Exception ,
308
+ reason = "Input field name ARRAY_AGG(t1.x) does not match with the projection expression" ,
309
+ )
307
310
def test_unnest_idempotent (backend ):
308
311
array_types = backend .array_types
309
312
df = array_types .execute ()
@@ -326,7 +329,12 @@ def test_unnest_idempotent(backend):
326
329
327
330
328
331
@builtin_array
329
- @pytest .mark .notimpl (["datafusion" , "flink" ], raises = com .OperationNotDefinedError )
332
+ @pytest .mark .notimpl (["flink" ], raises = com .OperationNotDefinedError )
333
+ @pytest .mark .notyet (
334
+ ["datafusion" ],
335
+ raises = Exception ,
336
+ reason = "Input field name ARRAY_AGG(t1.x) does not match with the projection expression" ,
337
+ )
330
338
def test_unnest_no_nulls (backend ):
331
339
array_types = backend .array_types
332
340
df = array_types .execute ()
@@ -358,7 +366,6 @@ def test_unnest_no_nulls(backend):
358
366
raises = ValueError ,
359
367
reason = "all the input arrays must have same number of dimensions" ,
360
368
)
361
- @pytest .mark .notimpl (["datafusion" ], raises = com .OperationNotDefinedError )
362
369
def test_unnest_default_name (backend ):
363
370
array_types = backend .array_types
364
371
df = array_types .execute ()
@@ -785,7 +792,6 @@ def test_array_intersect(con, data):
785
792
@builtin_array
786
793
@pytest .mark .notimpl (["postgres" ], raises = PsycoPg2SyntaxError )
787
794
@pytest .mark .notimpl (["risingwave" ], raises = PsycoPg2InternalError )
788
- @pytest .mark .notimpl (["datafusion" ], raises = com .OperationNotDefinedError )
789
795
@pytest .mark .notimpl (
790
796
["trino" ], reason = "inserting maps into structs doesn't work" , raises = TrinoUserError
791
797
)
@@ -805,7 +811,6 @@ def test_unnest_struct(con):
805
811
@builtin_array
806
812
@pytest .mark .notimpl (["postgres" ], raises = PsycoPg2SyntaxError )
807
813
@pytest .mark .notimpl (["risingwave" ], raises = PsycoPg2InternalError )
808
- @pytest .mark .notimpl (["datafusion" ], raises = com .OperationNotDefinedError )
809
814
@pytest .mark .notimpl (
810
815
["trino" ], reason = "inserting maps into structs doesn't work" , raises = TrinoUserError
811
816
)
@@ -896,7 +901,9 @@ def test_zip_null(con, fn):
896
901
@builtin_array
897
902
@pytest .mark .notimpl (["postgres" ], raises = PsycoPg2SyntaxError )
898
903
@pytest .mark .notimpl (["risingwave" ], raises = PsycoPg2ProgrammingError )
899
- @pytest .mark .notimpl (["datafusion" ], raises = com .OperationNotDefinedError )
904
+ @pytest .mark .notimpl (
905
+ ["datafusion" ], raises = Exception , reason = "probably generating invalid SQL"
906
+ )
900
907
@pytest .mark .notimpl (
901
908
["polars" ],
902
909
raises = com .OperationNotDefinedError ,
@@ -1095,11 +1102,6 @@ def test_range_start_stop_step_zero(con, start, stop):
1095
1102
raises = AssertionError ,
1096
1103
reason = "ibis hasn't implemented this behavior yet" ,
1097
1104
)
1098
- @pytest .mark .notyet (
1099
- ["datafusion" ],
1100
- raises = com .OperationNotDefinedError ,
1101
- reason = "backend doesn't support unnest" ,
1102
- )
1103
1105
@pytest .mark .notyet (
1104
1106
["flink" ],
1105
1107
raises = Py4JJavaError ,
0 commit comments