Skip to content

Commit 2c8ea03

Browse files
committed
format
1 parent b165ef3 commit 2c8ea03

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

python/tests/test_functions.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,9 @@ def test_hash_functions(df):
790790
)
791791
assert result.column(2) == pa.array(
792792
[
793-
b("185F8DB32271FE25F561A6FC938B2E26" "4306EC304EDA518007D1764826381969"),
794-
b("78AE647DC5544D227130A0682A51E30B" "C7777FBB6D8A8F17007463A3ECD1D524"),
795-
b("BB7208BC9B5D7C04F1236A82A0093A5E" "33F40423D5BA8D4266F7092C3BA43B62"),
793+
b("185F8DB32271FE25F561A6FC938B2E264306EC304EDA518007D1764826381969"),
794+
b("78AE647DC5544D227130A0682A51E30BC7777FBB6D8A8F17007463A3ECD1D524"),
795+
b("BB7208BC9B5D7C04F1236A82A0093A5E33F40423D5BA8D4266F7092C3BA43B62"),
796796
]
797797
)
798798
assert result.column(3) == pa.array(
@@ -838,16 +838,16 @@ def test_hash_functions(df):
838838
)
839839
assert result.column(5) == pa.array(
840840
[
841-
b("F73A5FBF881F89B814871F46E26AD3FA" "37CB2921C5E8561618639015B3CCBB71"),
842-
b("B792A0383FB9E7A189EC150686579532" "854E44B71AC394831DAED169BA85CCC5"),
843-
b("27988A0E51812297C77A433F63523334" "6AEE29A829DCF4F46E0F58F402C6CFCB"),
841+
b("F73A5FBF881F89B814871F46E26AD3FA37CB2921C5E8561618639015B3CCBB71"),
842+
b("B792A0383FB9E7A189EC150686579532854E44B71AC394831DAED169BA85CCC5"),
843+
b("27988A0E51812297C77A433F635233346AEE29A829DCF4F46E0F58F402C6CFCB"),
844844
]
845845
)
846846
assert result.column(6) == pa.array(
847847
[
848-
b("FBC2B0516EE8744D293B980779178A35" "08850FDCFE965985782C39601B65794F"),
849-
b("BF73D18575A736E4037D45F9E316085B" "86C19BE6363DE6AA789E13DEAACC1C4E"),
850-
b("C8D11B9F7237E4034ADBCD2005735F9B" "C4C597C75AD89F4492BEC8F77D15F7EB"),
848+
b("FBC2B0516EE8744D293B980779178A3508850FDCFE965985782C39601B65794F"),
849+
b("BF73D18575A736E4037D45F9E316085B86C19BE6363DE6AA789E13DEAACC1C4E"),
850+
b("C8D11B9F7237E4034ADBCD2005735F9BC4C597C75AD89F4492BEC8F77D15F7EB"),
851851
]
852852
)
853853
assert result.column(7) == result.column(1) # SHA-224
@@ -936,6 +936,7 @@ def test_temporal_functions(df):
936936
[datetime(2023, 9, 7, 5, 6, 14, 523952)] * 3, type=pa.timestamp("us")
937937
)
938938

939+
939940
def test_arrow_cast(df):
940941
df = df.select(
941942
# we use `string_literal` to return utf8 instead of `literal` which returns

0 commit comments

Comments
 (0)