Skip to content

Commit 8d6e797

Browse files
committed
formatting
1 parent f606fd4 commit 8d6e797

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

bindings/python/tests/test_transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def test_hour_transform():
9898
]
9999
)
100100
result = transform.hour(arr)
101-
expected = pa.array([19, 264420, -17072905], type=pa.int32())
101+
expected = pa.array([19, 264420, -17072906], type=pa.int32())
102102
assert result == expected
103103

104104

crates/iceberg/src/transform/temporal.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2745,8 +2745,16 @@ mod test {
27452745
test_timestamp_and_tz_transform("0022-05-01T22:01:01.000000", &hour, Datum::int(-17072906));
27462746

27472747
// Test TimestampNanosecond
2748-
test_timestamp_ns_and_tz_transform("2017-12-01T18:00:00.0000000000", &hour, Datum::int(420042));
2748+
test_timestamp_ns_and_tz_transform(
2749+
"2017-12-01T18:00:00.0000000000",
2750+
&hour,
2751+
Datum::int(420042),
2752+
);
27492753
test_timestamp_ns_and_tz_transform("1969-12-31T23:00:00.0000000000", &hour, Datum::int(-1));
2750-
test_timestamp_ns_and_tz_transform("1900-05-01T22:01:01.0000000000", &hour, Datum::int(-610706));
2754+
test_timestamp_ns_and_tz_transform(
2755+
"1900-05-01T22:01:01.0000000000",
2756+
&hour,
2757+
Datum::int(-610706),
2758+
);
27512759
}
27522760
}

0 commit comments

Comments
 (0)