Skip to content

[query] teach query to JSON encode numpy types correctly#12278

Merged
danking merged 3 commits into
hail-is:mainfrom
danking:masa-bug
Oct 6, 2022
Merged

[query] teach query to JSON encode numpy types correctly#12278
danking merged 3 commits into
hail-is:mainfrom
danking:masa-bug

Conversation

@danking

@danking danking commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

CHANGELOG: Fix bug made more likely by 0.2.101 in which Hail errors when interacting with a NumPy integer or floating point type.

CHANGELOG: Fix bug made more likely by 0.2.101 in which Hail errors when interacting with a NumPy integer or floating point type.
@danking

danking commented Oct 5, 2022

Copy link
Copy Markdown
Contributor Author

Interestingly, we don't correctly roundtrip. pd.NA will become None and int64 and int32 will become int. I don't think we can round trip as long as we have two Python-side representations for NA.

@danking
danking merged commit 14c2db0 into hail-is:main Oct 6, 2022
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.

2 participants