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

Draft assertLargeDatasetEqualityV2 #181

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

zeotuan
Copy link
Collaborator

@zeotuan zeotuan commented Dec 8, 2024

No description provided.

@zeotuan zeotuan requested a review from alfonsorr December 9, 2024 22:00
@zeotuan
Copy link
Collaborator Author

zeotuan commented Dec 9, 2024

@alfonsorr @SemyonSinchenko Benchmark result is promising. runtime of dataframe only API is 10x faster than RDD usage
for dataframe with 1m row and only 1 column. I will add more complicate use cases

* @param checkKeyUniqueness
* if true, will check if the primary key is actually unique
*/
def assertLargeDatasetEqualityV2[T: ClassTag](
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

How should we approach this? Should I add more version that is closer to what we had before? or maybe just use this replace older version with this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO: add performance benchmark for Typed vs column filter
In theory Filter using column should allow better query plan generation

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.

1 participant