Skip to content

Conversation

jkgoodrich
Copy link
Contributor

It would be useful to have the option of a repartition on read for existing resources. This adds a read_args parameter to the read functions of relevant Resource classes so any additional desired parameters can be passed to the hail read functions. To repartition a HT on read it would just be: my_resource.ht(read_args={"_n_partitions": 50})

Copy link
Contributor

@ch-kr ch-kr left a comment

Choose a reason for hiding this comment

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

YAY thank you so much for adding this! I have a few basic questions and one tiny suggestion

Copy link
Contributor

@ch-kr ch-kr left a comment

Choose a reason for hiding this comment

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

LGTM!

@jkgoodrich jkgoodrich merged commit a8113d4 into main Jan 26, 2024
@jkgoodrich jkgoodrich deleted the jg/add_rep_on_read_to_resources branch January 26, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants