Skip to content

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

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

Merged
merged 3 commits into from
Oct 6, 2022

Conversation

danking
Copy link
Contributor

@danking danking commented Oct 5, 2022

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
Copy link
Contributor Author

danking commented Oct 5, 2022

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