Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco committed Mar 25, 2024
1 parent 8f71a79 commit 1a59c3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/tests/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1508,9 +1508,7 @@ def test_rust_decimal_cast(tmp_path: pathlib.Path):

write_deltalake(tmp_path, data, mode="append", engine="rust")

assert DeltaTable("test-table").to_pyarrow_table()["x"][0].as_py() == Decimal(
"100.1"
)
assert DeltaTable(tmp_path).to_pyarrow_table()["x"][0].as_py() == Decimal("100.1")

# Write smaller decimal, works since it's fits in the previous decimal precision, scale
data = pa.table({"x": pa.array([Decimal("10.1")])})
Expand Down

0 comments on commit 1a59c3b

Please sign in to comment.