-
Notifications
You must be signed in to change notification settings - Fork 5
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
Preview: Indexer groupby #92
base: master
Are you sure you want to change the base?
Conversation
0ca962a
to
a64aafa
Compare
a64aafa
to
685c502
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this PR ready for review?
I want to confirm that this PR improves performance. Can you do the following:
- Create a view of broad-gdr-encode-storage.encode_2018_10_06.files. Either only keep donors with < 500 files, or only keep files with path (WHERE NOT path IS NULL).
- Delete index
- Run indexer at head. What happens -- does indexer crash? How long until crash, and how many documents are indexed at that point?
- Run indexer with this PR. How long does indexing take?
participant_row_dicts = [] | ||
for _, row in participant_group.iterrows(): | ||
sample_index = 0 | ||
for sample_id, row in participant_group.iloc[0:5000].iterrows(): # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be hard-coded here.
Never mind about running indexer at head -- I remember I tried that. Just let me know when this is ready for review. |
Sorry, I realized I hadn't tried head with the smaller BQ table. So please do this after all.
|
No description provided.