-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Adding HappyBase system tests for families and counters. #1595
Conversation
@@ -870,7 +870,7 @@ class _RegexFilter(RowFilter): | |||
""" | |||
|
|||
def __init__(self, regex): | |||
self.regex = regex | |||
self.regex = _to_bytes(regex) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
These tests exposed an issue with regex filters. When a protobuf bytes field received a unicode object, bad things happened.
15ca673
to
25f22ba
Compare
@@ -119,7 +119,7 @@ class _RegexFilter(RowFilter): | |||
""" | |||
|
|||
def __init__(self, regex): | |||
self.regex = regex | |||
self.regex = _to_bytes(regex) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@tseaver PTAL |
@tseaver LGTY to merge? |
LGTM |
Adding HappyBase system tests for families and counters.
These tests exposed an issue with regex filters. When a protobuf bytes field received a unicode object, bad things happened.