24
24
pytestmark = [
25
25
pytest .mark .never (["mysql" , "sqlite" , "mssql" ], reason = "No struct support" ),
26
26
pytest .mark .notyet (["impala" ]),
27
- pytest .mark .notimpl (["datafusion" , " druid" , "oracle" , "exasol" ]),
27
+ pytest .mark .notimpl (["druid" , "oracle" , "exasol" ]),
28
28
]
29
29
30
30
@@ -76,6 +76,7 @@ def test_all_fields(struct, struct_df):
76
76
77
77
78
78
@pytest .mark .notimpl (["postgres" , "risingwave" ])
79
+ @pytest .mark .notyet (["datafusion" ], raises = Exception , reason = "unsupported syntax" )
79
80
@pytest .mark .parametrize ("field" , ["a" , "b" , "c" ])
80
81
def test_literal (backend , con , field ):
81
82
query = _STRUCT_LITERAL [field ]
@@ -87,6 +88,7 @@ def test_literal(backend, con, field):
87
88
88
89
89
90
@pytest .mark .notimpl (["postgres" ])
91
+ @pytest .mark .notyet (["datafusion" ], raises = Exception , reason = "unsupported syntax" )
90
92
@pytest .mark .parametrize ("field" , ["a" , "b" , "c" ])
91
93
@pytest .mark .notyet (
92
94
["clickhouse" ], reason = "clickhouse doesn't support nullable nested types"
@@ -112,6 +114,7 @@ def test_struct_column(alltypes, df):
112
114
113
115
114
116
@pytest .mark .notimpl (["postgres" , "risingwave" , "polars" ])
117
+ @pytest .mark .notyet (["datafusion" ], raises = Exception , reason = "unsupported syntax" )
115
118
@pytest .mark .notyet (
116
119
["flink" ], reason = "flink doesn't support creating struct columns from collect"
117
120
)
@@ -144,6 +147,7 @@ def test_collect_into_struct(alltypes):
144
147
reason = "struct literals not implemented" ,
145
148
raises = PsycoPg2InternalError ,
146
149
)
150
+ @pytest .mark .notyet (["datafusion" ], raises = Exception , reason = "unsupported syntax" )
147
151
@pytest .mark .notimpl (["flink" ], raises = Py4JJavaError , reason = "not implemented in ibis" )
148
152
def test_field_access_after_case (con ):
149
153
s = ibis .struct ({"a" : 3 })
@@ -201,6 +205,7 @@ def test_field_access_after_case(con):
201
205
raises = AssertionError ,
202
206
reason = "snowflake doesn't have strongly typed structs" ,
203
207
)
208
+ @pytest .mark .notyet (["datafusion" ], raises = Exception , reason = "unsupported syntax" )
204
209
def test_keyword_fields (con , nullable ):
205
210
schema = ibis .schema (
206
211
{
@@ -260,6 +265,7 @@ def test_keyword_fields(con, nullable):
260
265
raises = Py4JJavaError ,
261
266
reason = "fails to parse due to an unsupported operation; flink docs say the syntax is supported" ,
262
267
)
268
+ @pytest .mark .notyet (["datafusion" ], raises = Exception , reason = "unsupported syntax" )
263
269
def test_isin_struct (con ):
264
270
needle1 = ibis .struct ({"x" : 1 , "y" : 2 })
265
271
needle2 = ibis .struct ({"x" : 2 , "y" : 3 })
0 commit comments