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

[query] add a small & incomplete test suite for good index errors #12566

Merged
merged 10 commits into from
Jan 23, 2023

Conversation

danking
Copy link
Contributor

@danking danking commented Dec 16, 2022

CHANGELOG: Improve error message when combining incompatibly indexed fields in certain operations including array indexing.

See test cases for straightforward examples. In main, none of the test code triggers errors. You have to execute the table to actually trigger an error in IR serialization which will reference "sa" which is totally meaningless to the user (let alone many Hail engineers).

@danking danking force-pushed the fix-indexing-bugs branch 2 times, most recently from be85271 to 828073c Compare December 16, 2022 22:27
CHANGELOG: Improve error message when combining incompatibly indexed fields in certain operations including array indexing.

See test cases for straightforward examples. In main, none of the test code triggers errors. You have to execute the table to actually trigger an error in IR serialization which will reference `"sa"` which is totally meaningless to the user (let alone many Hail engineers).
Copy link
Contributor

@tpoterba tpoterba left a comment

Choose a reason for hiding this comment

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

thanks!

@danking danking merged commit c022a81 into hail-is:main Jan 23, 2023
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