Skip to content

Commit 4fa01ad

Browse files
committed
Fix array_intersect test
1 parent 39ac586 commit 4fa01ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/tests/test_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,11 +433,11 @@ def py_flatten(arr):
433433
lambda: [arr[-1:2] for arr in data],
434434
],
435435
[
436-
f.array_intersect(col, [literal(3.0), literal(4.0)]),
436+
f.array_intersect(col, literal([3.0, 4.0])),
437437
lambda: [np.intersect1d(arr, [3.0, 4.0]) for arr in data],
438438
],
439439
[
440-
f.list_intersect(col, [literal(3.0), literal(4.0)]),
440+
f.list_intersect(col, literal([3.0, 4.0])),
441441
lambda: [np.intersect1d(arr, [3.0, 4.0]) for arr in data],
442442
],
443443
[

0 commit comments

Comments
 (0)