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

Fix tuple nested in dict type will fail when calling to_spark() #5885

Merged
merged 2 commits into from Apr 17, 2019
Merged

Fix tuple nested in dict type will fail when calling to_spark() #5885

merged 2 commits into from Apr 17, 2019

Conversation

@tongda
Copy link
Contributor

@tongda tongda commented Apr 16, 2019

When putting tuple in dict type, it will fail to convert spark dataframe. The issue could be reproduce by:

ht = hl.utils.range_table(10)
ht = ht.annotate(nested=hl.dict({"tup": hl.tuple([ht.idx])}))
ht.to_spark()

This PR fix this issue.

@tpoterba tpoterba self-assigned this Apr 16, 2019
@danking danking merged commit 96a8eee into hail-is:master Apr 17, 2019
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants