Skip to content

Commit dd7468a

Browse files
timsaucerclaude
andcommitted
Add unit test for contains string function
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8f45fa4 commit dd7468a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/tests/test_functions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ def test_array_function_obj_tests(stmt, py_expr):
745745
f.split_part(column("a"), literal("l"), literal(1)),
746746
pa.array(["He", "Wor", "!"]),
747747
),
748+
(f.contains(column("a"), literal("ell")), pa.array([True, False, False])),
748749
(f.starts_with(column("a"), literal("Wor")), pa.array([False, True, False])),
749750
(f.strpos(column("a"), literal("o")), pa.array([5, 2, 0], type=pa.int32())),
750751
(

0 commit comments

Comments
 (0)