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

ENH: Add binary data type #1183

Closed
wants to merge 3 commits into from
Closed

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Oct 22, 2017

No description provided.

@cpcloud cpcloud self-assigned this Oct 22, 2017
@cpcloud cpcloud added this to the 0.12 milestone Oct 22, 2017
@cpcloud cpcloud added the feature Features or general enhancements label Oct 22, 2017
Copy link
Member

@wesm wesm left a comment

Choose a reason for hiding this comment

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

+1. Minor suggestion about adding some documentation about strings vs. binary (in Impala there is no distinction, but in some backends there may be)

@@ -305,6 +305,12 @@ def valid_literal(self, value):
return isinstance(value, six.string_types)


class Binary(Variadic):
Copy link
Member

Choose a reason for hiding this comment

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

May be worth now adding a docstring to contrast string vs. binary. Though the definition of "string" may vary from back end to back end (e.g. we cannot necessarily rely on it being utf8)

@cpcloud cpcloud force-pushed the binary-type branch 2 times, most recently from 2e3c700 to 5a6b7be Compare October 23, 2017 16:55
@cpcloud cpcloud closed this in bf88b49 Oct 24, 2017
@cpcloud cpcloud deleted the binary-type branch October 24, 2017 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Features or general enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants