We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4e350 commit 8c7e2f8Copy full SHA for 8c7e2f8
python/tests/test_functions.py
@@ -907,8 +907,8 @@ def test_temporal_functions(df):
907
908
def test_arrow_cast(df):
909
df = df.select(
910
- f.arrow_cast(column("a"), "Float64").alias("a_as_float"),
911
- f.arrow_cast(column("a"), "Int32").alias("a_as_int"),
+ f.arrow_cast(column("a"), literal("Float64")).alias("a_as_float"),
+ f.arrow_cast(column("a"), literal("Int32")).alias("a_as_int"),
912
)
913
result = df.collect()
914
assert len(result) == 1
0 commit comments