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

Enable some more golden tests #301

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

nicklan
Copy link
Collaborator

@nicklan nicklan commented Aug 6, 2024

Changes made:

  • Use element as list root name, enable a bunch of tests. This matches the parquet spec
  • Allow sorting by lists if they contain primitives. arrow supports this and then we can test on tables that are all list cols
  • make the call to assert_columns_match pass things in the expected order.

@nicklan nicklan requested a review from zachschuermann August 6, 2024 21:33
@nicklan nicklan force-pushed the more-golden-tests branch from 4d9e288 to 0b3029a Compare August 6, 2024 21:33
&actual, &expected,
"Column data didn't match. Got {actual:?}, expected {expected:?}"
);
assert_eq!(&actual, &expected, "Column data didn't match.");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the assert macro already prints out left/right so we don't need the extra print in the message

Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.51%. Comparing base (e0a2e5e) to head (8e78e75).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #301   +/-   ##
=======================================
  Coverage   72.51%   72.51%           
=======================================
  Files          43       43           
  Lines        7783     7783           
  Branches     7783     7783           
=======================================
  Hits         5644     5644           
  Misses       1768     1768           
  Partials      371      371           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@zachschuermann zachschuermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! ill take the fix for the golden data modification soon!

kernel/tests/golden_tables.rs Outdated Show resolved Hide resolved
@zachschuermann
Copy link
Collaborator

well it also looks like codecov is working haha. if the github comments get too noisy maybe we should consider turning them off and just using codecov to track coverage over time at a high level

@nicklan nicklan requested review from azdavis and roeap August 6, 2024 21:43
Copy link
Collaborator

@roeap roeap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@zachschuermann zachschuermann merged commit 3143264 into delta-io:main Aug 8, 2024
12 checks passed
rtyler added a commit to ion-elgreco/delta-rs that referenced this pull request Sep 20, 2024
rtyler added a commit to ion-elgreco/delta-rs that referenced this pull request Sep 20, 2024
rtyler added a commit to ion-elgreco/delta-rs that referenced this pull request Oct 7, 2024
rtyler added a commit to ion-elgreco/delta-rs that referenced this pull request Nov 16, 2024
rtyler added a commit to ion-elgreco/delta-rs that referenced this pull request Nov 16, 2024
rtyler added a commit to ion-elgreco/delta-rs that referenced this pull request Nov 18, 2024
rtyler added a commit to ion-elgreco/delta-rs that referenced this pull request Nov 21, 2024
rtyler added a commit to delta-io/delta-rs that referenced this pull request Nov 21, 2024
JustinRush80 pushed a commit to JustinRush80/delta-rs that referenced this pull request Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants