Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a simple test suite for doing downstream tests #390

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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
Next Next commit
better assertions
mariusvniekerk committed Dec 9, 2020
commit 94a8369bccaa397b35d436c591206daa8fb393c9
4 changes: 4 additions & 0 deletions downstream_tests/test_dask_dataframe.py
Original file line number Diff line number Diff line change
@@ -161,6 +161,10 @@ def test_partitioned_read(partitioned_dataset, partitioned_parquet_path, moto_se

assert 'part_key' in ddf.columns
actual = ddf.compute().sort_values('id')
# dask converts our part_key into a categorical
actual[:, 'part_key'] = actual[:, 'part_key'].astype(str)


column_names = list(partitioned_dataset["dataframe"].columns)

compare_dateframes(actual, partitioned_dataset["dataframe"], column_names)