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

Table.repartition(shuffle=True) is broken when the table is unkeyed #5177

Closed
tpoterba opened this issue Jan 20, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@tpoterba
Copy link
Collaborator

commented Jan 20, 2019

@patrick-schultz will probably have an idea how to fix

@tpoterba

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 20, 2019

In [4]: ht = hl.import_table('src/test/resources/variantAnnotations.alternateformat.tsv', min_partitions=100)
2019-01-20 11:36:31 Hail: INFO: Reading table with no type imputation
  Loading column 'Chromosome:Position:Ref:Alt' as type 'str' (type not specified)
  Loading column 'Rand1' as type 'str' (type not specified)
  Loading column 'Rand2' as type 'str' (type not specified)
  Loading column 'Gene' as type 'str' (type not specified)


In [5]: ht.n_partitions()
Out[5]: 1

In [6]: ht.repartition(100).n_partitions()
Out[6]: 1
@tpoterba

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 20, 2019

I'll fix myself

@tpoterba tpoterba assigned tpoterba and unassigned chrisvittal Jan 20, 2019

tpoterba added a commit to tpoterba/hail that referenced this issue Jan 20, 2019

danking added a commit that referenced this issue Jan 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.