From 0f88d8ee3db44a2ae5caa5073b88ff207cbff784 Mon Sep 17 00:00:00 2001 From: Tim Saucer Date: Thu, 9 Jan 2025 07:13:09 -0500 Subject: [PATCH] Initcap now returns stringview --- python/tests/test_functions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/tests/test_functions.py b/python/tests/test_functions.py index 943d5b40..ac768dc3 100644 --- a/python/tests/test_functions.py +++ b/python/tests/test_functions.py @@ -666,7 +666,10 @@ def test_array_function_obj_tests(stmt, py_expr): f.concat(column("a").cast(pa.string()), literal("?")), pa.array(["Hello?", "World?", "!?"], type=pa.string_view()), ), - (f.initcap(column("c")), pa.array(["Hello ", " World ", " !"])), + ( + f.initcap(column("c")), + pa.array(["Hello ", " World ", " !"], type=pa.string_view()), + ), (f.left(column("a"), literal(3)), pa.array(["Hel", "Wor", "!"])), (f.length(column("c")), pa.array([6, 7, 2], type=pa.int32())), (f.lower(column("a")), pa.array(["hello", "world", "!"])),