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

ARROW-1919: [Plasma] Test that object ids are 20 bytes #1421

Closed
wants to merge 4 commits into from

Conversation

pcmoritz
Copy link
Contributor

No description provided.

@pcmoritz
Copy link
Contributor Author

+1 The windows build failure looks unrelated

@@ -136,6 +136,9 @@ cdef class ObjectID:
CUniqueID data

def __cinit__(self, object_id):
if not isinstance(object_id, bytes) or len(object_id) != 20:
raise RuntimeError("Object ID must by 20 bytes,"
Copy link
Member

Choose a reason for hiding this comment

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

Can you raise ValueError instead here?

@wesm
Copy link
Member

wesm commented Jan 5, 2018

Cool, will merge once the build runs

@wesm wesm closed this in 0115e93 Jan 5, 2018
@wesm wesm deleted the plasma-object-ids branch January 5, 2018 03:33
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