Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
rebase
  • Loading branch information
sungwy committed May 31, 2024
commit 9f0a92bfb45b4d4c5af4400a1d485826dc4449c5
4 changes: 2 additions & 2 deletions tests/integration/test_writes/test_partitioned_writes.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def test_append_transform_partition_verify_partitions_count(

partitions_table = tbl.inspect.partitions()
assert partitions_table.num_rows == len(expected_partitions)
assert {part[part_col] for part in partitions_table['partition'].to_pylist()} == expected_partitions
assert {part[part_col] for part in partitions_table["partition"].to_pylist()} == expected_partitions
files_df = spark.sql(
f"""
SELECT *
Expand Down Expand Up @@ -543,7 +543,7 @@ def test_append_multiple_partitions(

partitions_table = tbl.inspect.partitions()
assert partitions_table.num_rows == 6
partitions = partitions_table['partition'].to_pylist()
partitions = partitions_table["partition"].to_pylist()
assert {(part["date_year"], part["timestamptz_hour"]) for part in partitions} == {
(53, 473328),
(54, 473352),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ def test_strict_binary(bound_reference_binary: BoundReference[str]) -> None:


@pytest.mark.parametrize(
'transform',
"transform",
[
pytest.param(YearTransform(), id="year_transform"),
pytest.param(MonthTransform(), id="month_transform"),
Expand Down