Skip to content

Commit 0f88d8e

Browse files
committed
Initcap now returns stringview
1 parent f43bcc3 commit 0f88d8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/tests/test_functions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,10 @@ def test_array_function_obj_tests(stmt, py_expr):
666666
f.concat(column("a").cast(pa.string()), literal("?")),
667667
pa.array(["Hello?", "World?", "!?"], type=pa.string_view()),
668668
),
669-
(f.initcap(column("c")), pa.array(["Hello ", " World ", " !"])),
669+
(
670+
f.initcap(column("c")),
671+
pa.array(["Hello ", " World ", " !"], type=pa.string_view()),
672+
),
670673
(f.left(column("a"), literal(3)), pa.array(["Hel", "Wor", "!"])),
671674
(f.length(column("c")), pa.array([6, 7, 2], type=pa.int32())),
672675
(f.lower(column("a")), pa.array(["hello", "world", "!"])),

0 commit comments

Comments
 (0)