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

Adding HappyBase system tests for families and counters. #1595

Merged
merged 1 commit into from
Mar 12, 2016

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Mar 10, 2016

These tests exposed an issue with regex filters. When a protobuf bytes field received a unicode object, bad things happened.

@dhermes dhermes added the api: bigtable Issues related to the Bigtable API. label Mar 10, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 10, 2016
@@ -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.

These tests exposed an issue with regex filters. When a protobuf
bytes field received a unicode object, bad things happened.
@dhermes dhermes force-pushed the happybase-sys-test-counter branch from 15ca673 to 25f22ba Compare March 11, 2016 21:16
@@ -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.

This comment was marked as spam.

@dhermes
Copy link
Contributor Author

dhermes commented Mar 11, 2016

@tseaver PTAL

@dhermes
Copy link
Contributor Author

dhermes commented Mar 12, 2016

@tseaver LGTY to merge?

@tseaver
Copy link
Contributor

tseaver commented Mar 12, 2016

LGTM

dhermes added a commit that referenced this pull request Mar 12, 2016
Adding HappyBase system tests for families and counters.
@dhermes dhermes merged commit 71fe17b into googleapis:master Mar 12, 2016
@dhermes dhermes deleted the happybase-sys-test-counter branch March 12, 2016 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants