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

[CHORE] Add Series::full_null/empty/from_arrow to reduce code duplication #1331

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

jaychia
Copy link
Contributor

@jaychia jaychia commented Aug 31, 2023

We use with_match_daft_types! in a bunch of places that really should just be delegated to the Series instead.

This PR centralizes that logic under dedicated methods on Series::full_null/empty/from_arrow which account for most of the usage of with_match_daft_types! outside of specific places that still require it (make_growable and repr)

@jaychia jaychia changed the title Add Series::full_null/empty/from_arrow to reduce code duplication [CHORE] Add Series::full_null/empty/from_arrow to reduce code duplication Aug 31, 2023
@github-actions github-actions bot added the chore label Aug 31, 2023
@jaychia jaychia force-pushed the jay/growable-factory branch 2 times, most recently from cea063d to 17174dc Compare September 6, 2023 04:08
@jaychia jaychia force-pushed the jay/series-generic-functions branch 2 times, most recently from edca504 to 2c00389 Compare September 6, 2023 04:50
Base automatically changed from jay/growable-factory to main September 6, 2023 17:53
@jaychia jaychia enabled auto-merge (squash) September 6, 2023 17:55
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@8214b14). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1331   +/-   ##
=======================================
  Coverage        ?   87.28%           
=======================================
  Files           ?       61           
  Lines           ?     6000           
  Branches        ?        0           
=======================================
  Hits            ?     5237           
  Misses          ?      763           
  Partials        ?        0           

@jaychia jaychia merged commit 13d71e4 into main Sep 6, 2023
27 checks passed
@jaychia jaychia deleted the jay/series-generic-functions branch September 6, 2023 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant