Skip to content

Conversation

@tpoterba
Copy link
Contributor

@tpoterba tpoterba commented Jan 9, 2023

Fixes the col_key.show() issue Dan unearthed.

Fixes the col_key.show() issue Dan unearthed.
if self is source.col:
return None, source.key_cols_by().cols()
if self is source.col_key:
return None, source.key_cols_by().cols().select()
Copy link
Contributor

Choose a reason for hiding this comment

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

Won't this now produce a warning every time we call _to_relational_..., that seems bad. Can we somehow fix this without triggering the column table is sorted blah blah warning?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

initially disagreed, but this should produce an unkeyed thing the same as col. Fixed to select_cols().key_cols_by().cols()

@danking danking merged commit bdb701e into hail-is:main Jan 12, 2023
danking pushed a commit to danking/hail that referenced this pull request Jan 30, 2023
* [query] Fix _to_relational for col_key

Fixes the col_key.show() issue Dan unearthed.

* fixed
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