8000 docs: correct typo in comment for utf8_literal usage in test_arrow_cast · kosiew/datafusion-python@8eb0ed1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8eb0ed1

Browse files
committed
docs: correct typo in comment for utf8_literal usage in test_arrow_cast
1 parent f9814dd commit 8eb0ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def test_temporal_functions(df):
909909

910910
def test_arrow_cast(df):
911911
df = df.select(
912-
# we use `utf8_literal` to returns utf8 instead of `literal` which returns
912+
# we use `utf8_literal` to return utf8 instead of `literal` which returns
913913
# utf8view # because datafusion.arrow_cast expects a utf8 instead of utf8view
914914
# https://github.com/apache/datafusion/blob/86740bfd3d9831d6b7c1d0e1bf4a21d91598a0ac/datafusion/functions/src/core/arrow_cast.rs#L179
915915
f.arrow_cast(column("b"), utf8_literal("Float64")).alias("b_as_float"),

0 commit comments

Comments
 (0)
0