Skip to content

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

Merged
danking merged 10 commits into
hail-is:mainfrom
danking:fix-indexing-bugs
Jan 23, 2023
Merged

[query] add a small & incomplete test suite for good index errors#12566
danking merged 10 commits into
hail-is:mainfrom
danking:fix-indexing-bugs

Conversation

@danking

@danking danking commented Dec 16, 2022

Copy link
Copy Markdown
Contributor

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).

@tpoterba tpoterba left a comment

Copy link
Copy Markdown
Contributor

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