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

Conversation

Projects
None yet
3 participants
@tongda
Copy link
Contributor

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

hail-ci-0-1 successful build
Details
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.