@@ -49,9 +49,6 @@ def calc_zscore(s):
49
49
lambda t , win : t .id .percent_rank ().over (win ),
50
50
lambda t : t .id .rank (pct = True ),
51
51
id = 'percent_rank' ,
52
- marks = pytest .mark .notimpl (
53
- ["duckdb" , "impala" , "mysql" , "postgres" , "pyspark" , "sqlite" ]
54
- ),
55
52
),
56
53
param (
57
54
lambda t , win : t .float_col .ntile (buckets = 7 ).over (win ),
@@ -70,7 +67,7 @@ def calc_zscore(s):
70
67
id = 'last' ,
71
68
),
72
69
param (
73
- lambda t , win : ibis .row_number ().over (win ),
70
+ lambda _ , win : ibis .row_number ().over (win ),
74
71
lambda t : t .cumcount (),
75
72
id = 'row_number' ,
76
73
marks = pytest .mark .notimpl (["pandas" ]),
@@ -180,7 +177,7 @@ def calc_zscore(s):
180
177
)
181
178
@pytest .mark .notimpl (["clickhouse" , "dask" , "datafusion" ])
182
179
def test_grouped_bounded_expanding_window (
183
- backend , alltypes , df , con , result_fn , expected_fn
180
+ backend , alltypes , df , result_fn , expected_fn
184
181
):
185
182
186
183
expr = alltypes .mutate (
@@ -228,7 +225,7 @@ def test_grouped_bounded_expanding_window(
228
225
# Some backends do not support non-grouped window specs
229
226
@pytest .mark .notimpl (["clickhouse" , "dask" , "datafusion" ])
230
227
def test_ungrouped_bounded_expanding_window (
231
- backend , alltypes , df , con , result_fn , expected_fn
228
+ backend , alltypes , df , result_fn , expected_fn
232
229
):
233
230
234
231
expr = alltypes .mutate (
@@ -248,7 +245,7 @@ def test_ungrouped_bounded_expanding_window(
248
245
249
246
250
247
@pytest .mark .notimpl (["clickhouse" , "dask" , "datafusion" , "pandas" ])
251
- def test_grouped_bounded_following_window (backend , alltypes , df , con ):
248
+ def test_grouped_bounded_following_window (backend , alltypes , df ):
252
249
253
250
window = ibis .window (
254
251
preceding = 0 ,
@@ -304,9 +301,7 @@ def test_grouped_bounded_following_window(backend, alltypes, df, con):
304
301
],
305
302
)
306
303
@pytest .mark .notimpl (["clickhouse" , "dask" , "datafusion" ])
307
- def test_grouped_bounded_preceding_window (
308
- backend , alltypes , df , con , window_fn
309
- ):
304
+ def test_grouped_bounded_preceding_window (backend , alltypes , df , window_fn ):
310
305
window = window_fn (alltypes )
311
306
312
307
expr = alltypes .mutate (val = alltypes .double_col .sum ().over (window ))
@@ -358,7 +353,7 @@ def test_grouped_bounded_preceding_window(
358
353
)
359
354
@pytest .mark .notimpl (["clickhouse" , "datafusion" ])
360
355
def test_grouped_unbounded_window (
361
- backend , alltypes , df , con , result_fn , expected_fn , ordered
356
+ backend , alltypes , df , result_fn , expected_fn , ordered
362
357
):
363
358
# Define a window that is
364
359
# 1) Grouped
0 commit comments