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

Throw an error with null primary keys #232

Merged

Conversation

pfaraone
Copy link
Collaborator

@pfaraone pfaraone commented Oct 9, 2023

Motivation

  • Null primary keys can't currently be handled by compactor V1 or V2. The compactor is throwing an AttributeError within _append_sha1_hash_to_table as the iterated value (hash_value) is NoneType. Before deciding on a strategy for handling null primary keys, the least surprising way to handle it is to throw an error.

Copy link
Collaborator

@raghumdani raghumdani left a comment

Choose a reason for hiding this comment

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

LGTM!

@pfaraone pfaraone changed the title [WIP] Throw an error with null primary keys Throw an error with null primary keys Oct 10, 2023
@pfaraone pfaraone merged commit b1caa4a into ray-project:main Oct 10, 2023
20 checks passed
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