Skip to content

[query] Fix bug with constructing an array of empty structs#9751

Merged
danking merged 2 commits into
hail-is:mainfrom
johnc1231:johnc-array-empty-struct
Dec 3, 2020
Merged

[query] Fix bug with constructing an array of empty structs#9751
danking merged 2 commits into
hail-is:mainfrom
johnc1231:johnc-array-empty-struct

Conversation

@johnc1231
Copy link
Copy Markdown
Contributor

@johnc1231 johnc1231 commented Nov 30, 2020

Fixes #9750

The problem was that bool(hl.struct()) is False.

Copy link
Copy Markdown
Contributor

@danking danking left a comment

Choose a reason for hiding this comment

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

Add my example as a test!

@johnc1231 johnc1231 dismissed danking’s stale review December 1, 2020 17:57

Thanks for calling me out on not having a test.

@danking danking merged commit 025d4b2 into hail-is:main Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hail cannot create an array of empty structs

2 participants